Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.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 |
---|---|
27 import com.oracle.truffle.api.nodes.*; | 27 import com.oracle.truffle.api.nodes.*; |
28 import com.oracle.truffle.api.utilities.*; | 28 import com.oracle.truffle.api.utilities.*; |
29 import com.oracle.truffle.sl.nodes.*; | 29 import com.oracle.truffle.sl.nodes.*; |
30 | 30 |
31 @NodeInfo(shortName = "if") | 31 @NodeInfo(shortName = "if") |
32 public class SLIfNode extends SLStatementNode { | 32 public final class SLIfNode extends SLStatementNode { |
33 | 33 |
34 /** | 34 /** |
35 * The condition of the {@code if}. This in a {@link SLExpressionNode} because we require a | 35 * The condition of the {@code if}. This in a {@link SLExpressionNode} because we require a |
36 * result value. We do not have a node type that can only return a {@code boolean} value, so | 36 * result value. We do not have a node type that can only return a {@code boolean} value, so |
37 * {@link #evaluateCondition executing the condition} can lead to a type error. | 37 * {@link #evaluateCondition executing the condition} can lead to a type error. |