Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultCallTarget.java @ 15159:2ed720ce9273
Truffle: Change CallTarget from an abstract class to an interface. Allow varargs.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 15 Apr 2014 13:26:26 +0200 |
parents | 083e9e4df58a |
children | 258e3e0b5e2e |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultCallTarget.java Tue Apr 15 13:20:17 2014 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultCallTarget.java Tue Apr 15 13:26:26 2014 +0200 @@ -39,7 +39,7 @@ } @Override - public Object call(Object[] args) { + public Object call(Object... args) { VirtualFrame frame = new DefaultVirtualFrame(getRootNode().getFrameDescriptor(), args); return callProxy(frame); }