OpenJDK / graal / graal-jvmci-8
changeset 19894:706252994ee6
remove unused code in CurrentJavaThreadNode
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Tue, 17 Mar 2015 15:52:41 +0100 |
parents | 4b6a65cb8ecd |
children | d15769a7e444 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/CurrentJavaThreadNode.java |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/CurrentJavaThreadNode.java Tue Mar 17 15:49:33 2015 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/CurrentJavaThreadNode.java Tue Mar 17 15:52:41 2015 +0100 @@ -24,7 +24,6 @@ import com.oracle.graal.api.code.*; import com.oracle.graal.api.meta.*; -import com.oracle.graal.compiler.common.*; import com.oracle.graal.compiler.common.type.*; import com.oracle.graal.graph.*; import com.oracle.graal.hotspot.*; @@ -57,14 +56,6 @@ gen.setResult(this, rawThread.asValue(wordKind)); } - private static int eetopOffset() { - try { - return (int) UnsafeAccess.unsafe.objectFieldOffset(Thread.class.getDeclaredField("eetop")); - } catch (Exception e) { - throw new GraalInternalError(e); - } - } - @NodeIntrinsic public static native Word get(); }