Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultLoopNode.java @ 16969:865628e59c55
Truffle: cleanup to the LoopNode API.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Wed, 27 Aug 2014 11:35:59 +0200 |
parents | 534a87f866dc |
children | c88ab4f1f04a |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultLoopNode.java Wed Aug 27 11:35:59 2014 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultLoopNode.java Wed Aug 27 11:35:59 2014 +0200 @@ -35,7 +35,7 @@ @Override public void executeLoop(VirtualFrame frame) { - do { - } while (executeRepeatNode(frame)); + while (executeRepeatingNode(frame)) { + } } }