Mercurial > hg > truffle
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 16916:534a87f866dc
Truffle: new experimental LoopNode API.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Sat, 23 Aug 2014 19:31:40 +0200 |
parents | ada0a7729b6f |
children | 5a1d764f6afc |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java Sat Aug 23 19:31:48 2014 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java Sat Aug 23 19:31:40 2014 +0200 @@ -59,6 +59,11 @@ DirectCallNode createDirectCallNode(CallTarget target); /** + * Experimental API. May change without notice. + */ + LoopNode createLoopNode(RepeatingNode body); + + /** * Creates a new runtime specific version of {@link IndirectCallNode}. * * @return the new call node @@ -135,4 +140,5 @@ * Internal API method. Do not use. */ void notifyTransferToInterpreter(); + }