# HG changeset patch # User Doug Simon # Date 1428526845 -7200 # Node ID 619c0e8bb728ac7dc2940f2ca0a9c69bb67e9c6f # Parent 9e8f6d379720b5df884ee936a3b0ae6fa00de3a9 removed unused @MethodSubstitution for Object. diff -r 9e8f6d379720 -r 619c0e8bb728 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/ObjectSubstitutions.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/ObjectSubstitutions.java Wed Apr 08 22:57:48 2015 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/ObjectSubstitutions.java Wed Apr 08 23:00:45 2015 +0200 @@ -27,7 +27,6 @@ import com.oracle.graal.api.replacements.*; import com.oracle.graal.hotspot.word.*; import com.oracle.graal.nodes.*; -import com.oracle.graal.nodes.java.*; /** * Substitutions for {@link java.lang.Object} methods. @@ -45,9 +44,4 @@ public static int hashCode(final Object thisObj) { return computeHashCode(thisObj); } - - @MethodSubstitution(value = "", isStatic = false, forced = true) - public static void init(Object thisObj) { - RegisterFinalizerNode.register(thisObj); - } }