Skip to content

Commit

Permalink
Try harder to inline cloned BuildinRootNode call target
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Apr 25, 2023
1 parent 150cc85 commit 2188140
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ protected BuiltinRootNode(EnsoLanguage language) {
* @return new node to use to call this builtin
*/
public DirectCallNode createDirectCallNode() {
return DirectCallNode.create(cloneUninitialized().getCallTarget());
var callNode = DirectCallNode.create(cloneUninitialized().getCallTarget());
callNode.forceInlining();
return callNode;
}

/**
Expand Down

0 comments on commit 2188140

Please sign in to comment.