Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLBlockNode.java @ 16917:6af9d523222a
SL: use new LoopNode API.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Sat, 23 Aug 2014 19:31:44 +0200 |
parents | abe7128ca473 |
children | c0455554d45b |
comparison
equal
deleted
inserted
replaced
16916:534a87f866dc | 16917:6af9d523222a |
---|---|
39 * Children} informs Truffle that the field contains multiple children. It is a Truffle | 39 * Children} informs Truffle that the field contains multiple children. It is a Truffle |
40 * requirement that the field is {@code final} and an array of nodes. | 40 * requirement that the field is {@code final} and an array of nodes. |
41 */ | 41 */ |
42 @Children private final SLStatementNode[] bodyNodes; | 42 @Children private final SLStatementNode[] bodyNodes; |
43 | 43 |
44 public SLBlockNode(SourceSection src, SLStatementNode[] bodyNodes) { | 44 public SLBlockNode(SourceSection src, SLStatementNode... bodyNodes) { |
45 super(src); | 45 super(src); |
46 this.bodyNodes = bodyNodes; | 46 this.bodyNodes = bodyNodes; |
47 } | 47 } |
48 | 48 |
49 /** | 49 /** |