Skip to content
Snippets Groups Projects
Commit 8f2e344b authored by Gero Leinemann's avatar Gero Leinemann
Browse files

Removed superfluous call to 'onCreate' in RCallNode

parent 686035e6
Branches
No related tags found
No related merge requests found
......@@ -357,7 +357,6 @@ public abstract class RCallNode extends RNode {
RootCallNode next = createNextNode();
RootCallNode cachedNode = new CachedCallNode(this.functionNode, current, next, function);
next.onCreate();
current.onCreate();
this.replace(cachedNode);
return cachedNode;
}
......@@ -405,6 +404,7 @@ public abstract class RCallNode extends RNode {
MatchedArguments matchedArgs = ArgumentMatcher.matchArguments(frame, function, clonedArgs, callSrc, argsSrc);
callNode = new DispatchedCallNode(function, matchedArgs);
}
callNode.onCreate();
}
callNode.assignSourceSection(callSrc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment