Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
12769:99769479f9ce | 12770:3e013f4512de |
---|---|
66 */ | 66 */ |
67 public static void transferToInterpreter() { | 67 public static void transferToInterpreter() { |
68 } | 68 } |
69 | 69 |
70 /** | 70 /** |
71 * Directive for the compiler to discontinue compilation at this code position and instead | |
72 * insert a transfer to the interpreter, invalidating the currently executing machine code. | |
73 */ | |
74 public static void transferToInterpreterAndInvalidate() { | |
75 } | |
76 | |
77 /** | |
71 * Returns a boolean value indicating whether the method is executed in the interpreter. | 78 * Returns a boolean value indicating whether the method is executed in the interpreter. |
72 * | 79 * |
73 * @return {@code true} when executed in the interpreter, {@code false} in compiled code. | 80 * @return {@code true} when executed in the interpreter, {@code false} in compiled code. |
74 */ | 81 */ |
75 public static boolean inInterpreter() { | 82 public static boolean inInterpreter() { |