Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/intrinsics/TruffleIntrinsics.java @ 9258:07f8d136a05e
Truffle API changes for the Frame API. Introduction of Assumptions class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 23 Apr 2013 15:34:06 +0200 |
parents | 5e3d1a68664e |
children |
comparison
equal
deleted
inserted
replaced
9257:542712a4732a | 9258:07f8d136a05e |
---|---|
42 public static void checkThreadInterrupted() { | 42 public static void checkThreadInterrupted() { |
43 if (Thread.currentThread().isInterrupted()) { | 43 if (Thread.currentThread().isInterrupted()) { |
44 throw new RuntimeException("Timeout"); | 44 throw new RuntimeException("Timeout"); |
45 } | 45 } |
46 } | 46 } |
47 | |
48 public static void mustNotReachHere() { | |
49 } | |
50 | |
51 public static void interpreterOnly(Runnable runnable) { | |
52 runnable.run(); | |
53 } | |
47 } | 54 } |