Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.java @ 15776:111bf82514ca
SL: adding NodeInfo.descriptions to SL statements
author | Christian Wirth <christian.wirth@oracle.com> |
---|---|
date | Mon, 19 May 2014 18:59:04 +0200 |
parents | f3a5036cc13c |
children | b96e17e6d6aa |
comparison
equal
deleted
inserted
replaced
15775:4293efaaab76 | 15776:111bf82514ca |
---|---|
26 import com.oracle.truffle.api.frame.*; | 26 import com.oracle.truffle.api.frame.*; |
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", description = "The node implementing a condional statement") |
32 public final 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 |