Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/RootNode.java @ 7530:5e3d1a68664e
applied mx eclipseformat to all Java files
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Jan 2013 16:34:57 +0100 |
parents | a4b84ba6dc2e |
children | 07f8d136a05e |
comparison
equal
deleted
inserted
replaced
7529:4a11124a3563 | 7530:5e3d1a68664e |
---|---|
24 | 24 |
25 import com.oracle.truffle.api.*; | 25 import com.oracle.truffle.api.*; |
26 import com.oracle.truffle.api.frame.*; | 26 import com.oracle.truffle.api.frame.*; |
27 | 27 |
28 /** | 28 /** |
29 * A root node is a node with a method to execute it given only a frame as a parameter. Therefore, a root node can be used to create a call target using {@link TruffleRuntime#createCallTarget(RootNode, FrameDescriptor)}. | 29 * A root node is a node with a method to execute it given only a frame as a parameter. Therefore, a |
30 * root node can be used to create a call target using | |
31 * {@link TruffleRuntime#createCallTarget(RootNode, FrameDescriptor)}. | |
30 */ | 32 */ |
31 public abstract class RootNode extends Node { | 33 public abstract class RootNode extends Node { |
32 | 34 |
33 /** | 35 /** |
34 * Executes this function using the specified frame and returns the result value. | 36 * Executes this function using the specified frame and returns the result value. |
37 * | |
35 * @param frame the frame of the currently executing guest language method | 38 * @param frame the frame of the currently executing guest language method |
36 * @return the value of the execution | 39 * @return the value of the execution |
37 */ | 40 */ |
38 public abstract Object execute(VirtualFrame frame); | 41 public abstract Object execute(VirtualFrame frame); |
39 } | 42 } |