comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CallTarget.java @ 15160:a47e68e146a2

Truffle: Remove NO_ARGUMENTS from CallTarget interface. It is no longer necessary for the varargs version.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 15 Apr 2014 13:27:16 +0200
parents 2ed720ce9273
children 1051d6e4b61b
comparison
equal deleted inserted replaced
15159:2ed720ce9273 15160:a47e68e146a2
27 /** 27 /**
28 * Represents the target of a call. 28 * Represents the target of a call.
29 */ 29 */
30 public interface CallTarget { 30 public interface CallTarget {
31 31
32 public static final Object[] NO_ARGUMENTS = new Object[0];
33
34 /** 32 /**
35 * Calls this target as a root method.. 33 * Calls this target as a root method..
36 * 34 *
37 * @param arguments passed arguments as an object array 35 * @param arguments passed arguments as an object array
38 * @return the return result of the call 36 * @return the return result of the call