Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLBlockNode.java Sat Aug 23 19:31:40 2014 +0200 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLBlockNode.java Sat Aug 23 19:31:44 2014 +0200 @@ -41,7 +41,7 @@ */ @Children private final SLStatementNode[] bodyNodes; - public SLBlockNode(SourceSection src, SLStatementNode[] bodyNodes) { + public SLBlockNode(SourceSection src, SLStatementNode... bodyNodes) { super(src); this.bodyNodes = bodyNodes; }