comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 9258:07f8d136a05e

Truffle API changes for the Frame API. Introduction of Assumptions class.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 23 Apr 2013 15:34:06 +0200
parents 0a346c23cbd5
children 494b818b527c
comparison
equal deleted inserted replaced
9257:542712a4732a 9258:07f8d136a05e
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 61
62 /** 62 /**
63 * Creates a new assumption object that can be checked and invalidated.
64 *
65 * @return the newly created assumption object
66 */
67 Assumption createAssumption();
68
69 /**
70 * Creates a new assumption object with a given name that can be checked and invalidated.
71 *
72 * @param name the name for the new assumption
73 * @return the newly created assumption object
74 */
75 Assumption createAssumption(String name);
76
77 /**
63 * Creates a new materialized frame object that can be used to store values. 78 * Creates a new materialized frame object that can be used to store values.
64 * 79 *
65 * @return the newly created materialized frame object 80 * @return the newly created materialized frame object
66 */ 81 */
67 MaterializedFrame createMaterializedFrame(Arguments arguments); 82 MaterializedFrame createMaterializedFrame(Arguments arguments);