comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 7712:0a346c23cbd5

Add ability to create materialized frame to Truffle runtime.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 05 Feb 2013 15:27:32 +0100
parents 5e3d1a68664e
children 07f8d136a05e
comparison
equal deleted inserted replaced
7711:960a15fea39a 7712:0a346c23cbd5
56 * represents the entry point 56 * represents the entry point
57 * @param frameDescriptor the descriptor used for creating a new frame at each invocation 57 * @param frameDescriptor the descriptor used for creating a new frame at each invocation
58 * @return the new call target object 58 * @return the new call target object
59 */ 59 */
60 CallTarget createCallTarget(RootNode rootNode, FrameDescriptor frameDescriptor); 60 CallTarget createCallTarget(RootNode rootNode, FrameDescriptor frameDescriptor);
61
62 /**
63 * Creates a new materialized frame object that can be used to store values.
64 *
65 * @return the newly created materialized frame object
66 */
67 MaterializedFrame createMaterializedFrame(Arguments arguments);
68
69 /**
70 * Creates a new materialized frame object with the given frame descriptor that can be used to
71 * store values.
72 *
73 * @param frameDescriptor the frame descriptor describing this frame's values
74 * @return the newly created materialized frame object
75 */
76 MaterializedFrame createMaterializedFrame(Arguments arguments, FrameDescriptor frameDescriptor);
61 } 77 }