Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/RootNode.java @ 15094:04703cff4ef2
Truffle: fixed some minor formatting/findbugs problems.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 14 Apr 2014 20:37:16 +0200 |
parents | 5634b199c4da |
children | 915ebb306fcc |
comparison
equal
deleted
inserted
replaced
15093:5634b199c4da | 15094:04703cff4ef2 |
---|---|
56 | 56 |
57 /** | 57 /** |
58 * Creates a split {@link RootNode} based on the current {@link RootNode}. This method should | 58 * Creates a split {@link RootNode} based on the current {@link RootNode}. This method should |
59 * return an AST that was never executed and must not be shared with other {@link RootNode} or | 59 * return an AST that was never executed and must not be shared with other {@link RootNode} or |
60 * {@link CallTarget} instances. This method is intended to be overridden by a subclass. | 60 * {@link CallTarget} instances. This method is intended to be overridden by a subclass. |
61 * | 61 * |
62 * @return the split {@link RootNode} | 62 * @return the split {@link RootNode} |
63 */ | 63 */ |
64 public RootNode split() { | 64 public RootNode split() { |
65 throw new UnsupportedOperationException(); | 65 throw new UnsupportedOperationException(); |
66 } | 66 } |
67 | 67 |
68 /** | 68 /** |
69 * Returns <code>true</code> if this {@link RootNode} can be split. A {@link RootNode} can be | 69 * Returns <code>true</code> if this {@link RootNode} can be split. A {@link RootNode} can be |
70 * split inside of a {@link CallTarget} that is invoked using a {@link DirectCallNode}. If this method | 70 * split inside of a {@link CallTarget} that is invoked using a {@link DirectCallNode}. If this |
71 * returns <code>true</code> a proper implementation of {@link #split()} must also be provided. | 71 * method returns <code>true</code> a proper implementation of {@link #split()} must also be |
72 * This method is intended to be overridden by a subclass. | 72 * provided. This method is intended to be overridden by a subclass. |
73 * | 73 * |
74 * @return <code>true</code> if splittable else <code>false</code>. | 74 * @return <code>true</code> if splittable else <code>false</code>. |
75 */ | 75 */ |
76 public boolean isSplittable() { | 76 public boolean isSplittable() { |
77 return false; | 77 return false; |
78 } | 78 } |
87 } | 87 } |
88 } | 88 } |
89 | 89 |
90 /** | 90 /** |
91 * Executes this function using the specified frame and returns the result value. | 91 * Executes this function using the specified frame and returns the result value. |
92 * | 92 * |
93 * @param frame the frame of the currently executing guest language method | 93 * @param frame the frame of the currently executing guest language method |
94 * @return the value of the execution | 94 * @return the value of the execution |
95 */ | 95 */ |
96 public abstract Object execute(VirtualFrame frame); | 96 public abstract Object execute(VirtualFrame frame); |
97 | 97 |