comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/CallNode.java @ 13709:c2ed2ce2cfe0

SL: another minor FrameDescriptor fix.
author Christian Humer <christian.humer@gmail.com>
date Mon, 20 Jan 2014 15:18:39 +0100
parents 652f24858aad
children
comparison
equal deleted inserted replaced
13708:0fbe961a32df 13709:c2ed2ce2cfe0
187 private final FrameDescriptor descriptor; 187 private final FrameDescriptor descriptor;
188 @Child private TypedNode inlinedBody; 188 @Child private TypedNode inlinedBody;
189 189
190 InlinedDirectCallNode(InlinableDirectCallNode prev, TypedNode inlinedBody) { 190 InlinedDirectCallNode(InlinableDirectCallNode prev, TypedNode inlinedBody) {
191 super(prev.functionNode, prev.argumentsNode, prev.cachedFunction, prev.nextNode); 191 super(prev.functionNode, prev.argumentsNode, prev.cachedFunction, prev.nextNode);
192 this.descriptor = cachedFunction.getFrameDescriptor(); 192 this.descriptor = cachedFunction.getRootNode().getFrameDescriptor();
193 this.inlinedBody = adoptChild(inlinedBody); 193 this.inlinedBody = adoptChild(inlinedBody);
194 } 194 }
195 195
196 @Override 196 @Override
197 public Object executeCurrent(VirtualFrame frame, Object[] arguments) { 197 public Object executeCurrent(VirtualFrame frame, Object[] arguments) {