# HG changeset patch # User Andreas Woess # Date 1426603961 -3600 # Node ID 706252994ee6a432ce0265c8755f2a1baa30f9a3 # Parent 4b6a65cb8ecdaa5d6cbf1c71fa0171b2b748a397 remove unused code in CurrentJavaThreadNode diff -r 4b6a65cb8ecd -r 706252994ee6 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/CurrentJavaThreadNode.java --- 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(); }