Skip to content
Snippets Groups Projects
Commit 6c1e8549 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

update cached function in RCallNode generic case

parent 2a63ec7a
Branches
No related tags found
No related merge requests found
......@@ -829,6 +829,7 @@ public abstract class RCallNode extends RNode implements RSyntaxNode, RSyntaxCal
@TruffleBoundary
public Object execute(MaterializedFrame materializedFrame, RFunction function, Object varArgs, Object s3Args) {
if (cachedFunction != function) {
cachedFunction = function;
leafCall = insert(createCacheNode(function));
prepareArguments = insert(createArguments(function, true));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment