comparison graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/NodeFactory.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 2864cb92fa9a
children
comparison
equal deleted inserted replaced
14989:a0dbb3628f2a 14991:64dcb92ee75a
36 36
37 /** 37 /**
38 * Instantiates the node using the arguments array. The arguments length and types must suffice 38 * Instantiates the node using the arguments array. The arguments length and types must suffice
39 * one of the returned signatures in {@link #getNodeSignatures()}. If the arguments array does 39 * one of the returned signatures in {@link #getNodeSignatures()}. If the arguments array does
40 * not suffice one of the node signatures an {@link IllegalArgumentException} is thrown. 40 * not suffice one of the node signatures an {@link IllegalArgumentException} is thrown.
41 * 41 *
42 * @param arguments the argument values 42 * @param arguments the argument values
43 * @return the instantiated node 43 * @return the instantiated node
44 * @throws IllegalArgumentException 44 * @throws IllegalArgumentException
45 */ 45 */
46 T createNode(Object... arguments); 46 T createNode(Object... arguments);