Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLWhileNode.java @ 13882:afd6fa5e8229
SL: Feedback from reviewers
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Wed, 05 Feb 2014 08:02:15 -0800 |
parents | f9b934e1e172 |
children | a08b8694f556 |
comparison
equal
deleted
inserted
replaced
13881:272a166a9574 | 13882:afd6fa5e8229 |
---|---|
28 import com.oracle.truffle.api.nodes.*; | 28 import com.oracle.truffle.api.nodes.*; |
29 import com.oracle.truffle.api.utilities.*; | 29 import com.oracle.truffle.api.utilities.*; |
30 import com.oracle.truffle.sl.nodes.*; | 30 import com.oracle.truffle.sl.nodes.*; |
31 | 31 |
32 @NodeInfo(shortName = "while") | 32 @NodeInfo(shortName = "while") |
33 public class SLWhileNode extends SLStatementNode { | 33 public final class SLWhileNode extends SLStatementNode { |
34 | 34 |
35 /** | 35 /** |
36 * The condition of the loop. This in a {@link SLExpressionNode} because we require a result | 36 * The condition of the loop. This in a {@link SLExpressionNode} because we require a result |
37 * value. We do not have a node type that can only return a {@code boolean} value, so | 37 * value. We do not have a node type that can only return a {@code boolean} value, so |
38 * {@link #evaluateCondition executing the condition} can lead to a type error. | 38 * {@link #evaluateCondition executing the condition} can lead to a type error. |