comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 13705:ac5b0f31f7a2

Truffle API-change: FrameDescriptors are now stored in the RootNode in a final field instead of the CallTarget.
author Christian Humer <christian.humer@gmail.com>
date Fri, 17 Jan 2014 17:06:08 +0100
parents dca16d6f9d65
children a12017c18d5d
comparison
equal deleted inserted replaced
13704:10a2d66262ae 13705:ac5b0f31f7a2
49 * @return the new call target object 49 * @return the new call target object
50 */ 50 */
51 CallTarget createCallTarget(RootNode rootNode); 51 CallTarget createCallTarget(RootNode rootNode);
52 52
53 /** 53 /**
54 * Creates a new call target for a given root node and a given frame descriptor.
55 *
56 * @param rootNode the root node whose
57 * {@link RootNode#execute(com.oracle.truffle.api.frame.VirtualFrame)} method
58 * represents the entry point
59 * @param frameDescriptor the descriptor used for creating a new frame at each invocation
60 * @return the new call target object
61 */
62 CallTarget createCallTarget(RootNode rootNode, FrameDescriptor frameDescriptor);
63
64 /**
65 * Creates a new assumption object that can be checked and invalidated. 54 * Creates a new assumption object that can be checked and invalidated.
66 * 55 *
67 * @return the newly created assumption object 56 * @return the newly created assumption object
68 */ 57 */
69 Assumption createAssumption(); 58 Assumption createAssumption();