Mercurial > hg > truffle
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java @ 12770:3e013f4512de
temporary addition of CompilerDirectives.transferToInterpreterAndInvalidate()
author | Michael Haupt <michael.haupt@oracle.com> |
---|---|
date | Mon, 18 Nov 2013 09:11:30 +0100 |
parents | a9837a03127e |
children | 1541afe9cf15 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java Fri Nov 15 11:20:18 2013 +0100 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java Mon Nov 18 09:11:30 2013 +0100 @@ -68,6 +68,13 @@ } /** + * Directive for the compiler to discontinue compilation at this code position and instead + * insert a transfer to the interpreter, invalidating the currently executing machine code. + */ + public static void transferToInterpreterAndInvalidate() { + } + + /** * Returns a boolean value indicating whether the method is executed in the interpreter. * * @return {@code true} when executed in the interpreter, {@code false} in compiled code.