# HG changeset patch # User Tom Rodriguez # Date 1425931896 25200 # Node ID 415975c5550bfcb2cdc80164498cf4656daab8a4 # Parent 6a3832494e24e08d064d5583ba28155c11d6eeb1 Disable updateBytesCRC32 until MethodSubstutions are compiled like snippets diff -r 6a3832494e24 -r 415975c5550b graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/CRC32Substitutions.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/CRC32Substitutions.java Mon Mar 09 13:07:18 2015 -0700 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/CRC32Substitutions.java Mon Mar 09 13:11:36 2015 -0700 @@ -44,14 +44,17 @@ public static class Guard implements SubstitutionGuard { - private HotSpotVMConfig config; + @SuppressWarnings("unused") private HotSpotVMConfig config; public Guard(HotSpotVMConfig config) { this.config = config; } public boolean execute() { - return config.useCRC32Intrinsics; + /* + * Disabled until MethodSubstitutions are compiled like snipppets. + */ + return false; // return config.useCRC32Intrinsics; } }