Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/call/SLGenericDispatchNode.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 | b16ec83edc73 |
children | f675818d9ad0 |
comparison
equal
deleted
inserted
replaced
14989:a0dbb3628f2a | 14991:64dcb92ee75a |
---|---|
30 * calls are not optimized any further, e.g., no method inlining is performed. | 30 * calls are not optimized any further, e.g., no method inlining is performed. |
31 */ | 31 */ |
32 final class SLGenericDispatchNode extends SLAbstractDispatchNode { | 32 final class SLGenericDispatchNode extends SLAbstractDispatchNode { |
33 | 33 |
34 @Override | 34 @Override |
35 protected Object executeDispatch(VirtualFrame frame, SLFunction function, SLArguments arguments) { | 35 protected Object executeDispatch(VirtualFrame frame, SLFunction function, Object[] arguments) { |
36 /* | 36 /* |
37 * SL has a quite simple call lookup: just ask the function for the current call target, and | 37 * SL has a quite simple call lookup: just ask the function for the current call target, and |
38 * call it. | 38 * call it. |
39 */ | 39 */ |
40 return function.getCallTarget().call(frame.pack(), arguments); | 40 return function.getCallTarget().call(arguments); |
41 } | 41 } |
42 } | 42 } |