Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java @ 22009:130e5f69d1a6
Lukas wants there methods to be available for Truffle language implementors.
Related to Graal e8dc090e167f
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Thu, 23 Jul 2015 10:48:53 +0200 |
parents | 169f5c55704c |
children | dc83cc1f94f2 |
comparison
equal
deleted
inserted
replaced
22008:02e4cf046653 | 22009:130e5f69d1a6 |
---|---|
199 * | 199 * |
200 * @param obj the object to exclude from Escape Analysis | 200 * @param obj the object to exclude from Escape Analysis |
201 */ | 201 */ |
202 public static void materialize(Object obj) { | 202 public static void materialize(Object obj) { |
203 } | 203 } |
204 | |
205 /** | |
206 * Ensures that the given object will be virtual (escape analyzed) at all points that are | |
207 * dominated by the current position. | |
208 */ | |
209 public static void ensureVirtualized(@SuppressWarnings("unused") Object object) { | |
210 } | |
211 | |
212 /** | |
213 * Ensures that the given object will be virtual at the current position. | |
214 */ | |
215 public static void ensureVirtualizedHere(@SuppressWarnings("unused") Object object) { | |
216 } | |
204 } | 217 } |