Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/call/SLInvokeNode.java @ 14991:64dcb92ee75a
Truffle: Change signature for Truffle calls from (PackedFrame, Arguments) to (Object[]).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 06 Apr 2014 17:46:24 +0200 |
parents | a08b8694f556 |
children | abe7128ca473 |
comparison
equal
deleted
inserted
replaced
14989:a0dbb3628f2a | 14991:64dcb92ee75a |
---|---|
68 | 68 |
69 Object[] argumentValues = new Object[argumentNodes.length]; | 69 Object[] argumentValues = new Object[argumentNodes.length]; |
70 for (int i = 0; i < argumentNodes.length; i++) { | 70 for (int i = 0; i < argumentNodes.length; i++) { |
71 argumentValues[i] = argumentNodes[i].executeGeneric(frame); | 71 argumentValues[i] = argumentNodes[i].executeGeneric(frame); |
72 } | 72 } |
73 SLArguments arguments = new SLArguments(argumentValues); | |
74 | 73 |
75 return dispatchNode.executeDispatch(frame, function, arguments); | 74 return dispatchNode.executeDispatch(frame, function, argumentValues); |
76 } | 75 } |
77 | 76 |
78 private SLFunction evaluateFunction(VirtualFrame frame) { | 77 private SLFunction evaluateFunction(VirtualFrame frame) { |
79 try { | 78 try { |
80 /* | 79 /* |