Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/CallTest.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 | df1d665ca846 |
children |
comparison
equal
deleted
inserted
replaced
14989:a0dbb3628f2a | 14991:64dcb92ee75a |
---|---|
28 import com.oracle.truffle.api.frame.*; | 28 import com.oracle.truffle.api.frame.*; |
29 import com.oracle.truffle.api.nodes.*; | 29 import com.oracle.truffle.api.nodes.*; |
30 | 30 |
31 /** | 31 /** |
32 * <h3>Calling Another Tree</h3> | 32 * <h3>Calling Another Tree</h3> |
33 * | 33 * |
34 * <p> | 34 * <p> |
35 * A guest language implementation can create multiple call targets using the | 35 * A guest language implementation can create multiple call targets using the |
36 * {@link TruffleRuntime#createCallTarget(RootNode)} method. Those call targets can be passed around | 36 * {@link TruffleRuntime#createCallTarget(RootNode)} method. Those call targets can be passed around |
37 * as normal Java objects and used for calling guest language methods. | 37 * as normal Java objects and used for calling guest language methods. |
38 * </p> | 38 * </p> |
39 * | 39 * |
40 * <p> | 40 * <p> |
41 * The next part of the Truffle API introduction is at | 41 * The next part of the Truffle API introduction is at |
42 * {@link com.oracle.truffle.api.test.ArgumentsTest}. | 42 * {@link com.oracle.truffle.api.test.ArgumentsTest}. |
43 * </p> | 43 * </p> |
44 */ | 44 */ |