comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 15093:5634b199c4da

Truffle: API-change: renamed CallNode to DirectCallNode and added IndirectCallNode.
author Christian Humer <christian.humer@gmail.com>
date Mon, 14 Apr 2014 20:32:25 +0200
parents 607e33885130
children e44dd5a90947
comparison
equal deleted inserted replaced
15092:c73ce0dd3583 15093:5634b199c4da
48 * represents the entry point 48 * represents the entry point
49 * @return the new call target object 49 * @return the new call target object
50 */ 50 */
51 RootCallTarget createCallTarget(RootNode rootNode); 51 RootCallTarget createCallTarget(RootNode rootNode);
52 52
53 CallNode createCallNode(CallTarget target); 53 /**
54 * Creates a new runtime specific version of {@link DirectCallNode}.
55 *
56 * @param target the direct {@link CallTarget} to call
57 * @return the new call node
58 */
59 DirectCallNode createDirectCallNode(CallTarget target);
60
61 /**
62 * Creates a new runtime specific version of {@link IndirectCallNode}.
63 *
64 * @return the new call node
65 */
66 IndirectCallNode createIndirectCallNode();
54 67
55 /** 68 /**
56 * Creates a new assumption object that can be checked and invalidated. 69 * Creates a new assumption object that can be checked and invalidated.
57 * 70 *
58 * @return the newly created assumption object 71 * @return the newly created assumption object
102 /** 115 /**
103 * Accesses the current frame, i.e., the frame of the closest {@link CallTarget}. It is 116 * Accesses the current frame, i.e., the frame of the closest {@link CallTarget}. It is
104 * important to note that this {@link FrameInstance} supports only slow path access. 117 * important to note that this {@link FrameInstance} supports only slow path access.
105 */ 118 */
106 FrameInstance getCurrentFrame(); 119 FrameInstance getCurrentFrame();
120
107 } 121 }