# HG changeset patch # User Doug Simon # Date 1368647472 -7200 # Node ID 1a5fbe41b8d499c4161e6301e203eeb245bfbce7 # Parent f7bd4594cbbf03736cd00a83eb4a0d497ad490ce made identityHashCode, javaTimeMillis and javaTimeNanos be CRuntimeCalls instead of RuntimeCallNodes diff -r f7bd4594cbbf -r 1a5fbe41b8d4 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotReplacementsUtil.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotReplacementsUtil.java Wed May 15 21:37:25 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotReplacementsUtil.java Wed May 15 21:51:12 2013 +0200 @@ -674,7 +674,7 @@ } @SuppressWarnings("unused") - @NodeIntrinsic(RuntimeCallNode.class) + @NodeIntrinsic(CRuntimeCall.class) public static int identityHashCode(@ConstantNodeParameter Descriptor descriptor, Object object) { return System.identityHashCode(object); } diff -r f7bd4594cbbf -r 1a5fbe41b8d4 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/SystemSubstitutions.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/SystemSubstitutions.java Wed May 15 21:37:25 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/SystemSubstitutions.java Wed May 15 21:51:12 2013 +0200 @@ -29,7 +29,7 @@ import com.oracle.graal.api.replacements.*; import com.oracle.graal.graph.Node.ConstantNodeParameter; import com.oracle.graal.graph.Node.NodeIntrinsic; -import com.oracle.graal.nodes.extended.*; +import com.oracle.graal.hotspot.nodes.*; import com.oracle.graal.nodes.spi.*; /** @@ -63,7 +63,7 @@ return computeHashCode(x); } - @NodeIntrinsic(value = RuntimeCallNode.class, setStampFromReturnType = true) + @NodeIntrinsic(value = CRuntimeCall.class, setStampFromReturnType = true) public static long callLong(@ConstantNodeParameter Descriptor descriptor) { if (descriptor == JAVA_TIME_MILLIS) { return System.currentTimeMillis();