Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLWhileNode.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 |
---|---|
27 import com.oracle.truffle.api.frame.*; | 27 import com.oracle.truffle.api.frame.*; |
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", description = "The node implementing a while loop") |
33 public final 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 |