# HG changeset patch # User Lukas Stadler # Date 1349423961 -7200 # Node ID e4ae9932c29242eb9fa1c610f230ad77b9e400c4 # Parent 0b62a9d44c21412fe151e802ca5708cec678e45e enable hashCode fast path in generate_native_wrapper for GRAAL diff -r 0b62a9d44c21 -r e4ae9932c292 src/cpu/x86/vm/sharedRuntime_x86_32.cpp --- a/src/cpu/x86/vm/sharedRuntime_x86_32.cpp Fri Oct 05 09:12:55 2012 +0200 +++ b/src/cpu/x86/vm/sharedRuntime_x86_32.cpp Fri Oct 05 09:59:21 2012 +0200 @@ -1717,7 +1717,7 @@ int vep_offset = ((intptr_t)__ pc()) - start; -#ifdef COMPILER1 +#ifdef COMPILER1 || GRAAL if (InlineObjectHash && method->intrinsic_id() == vmIntrinsics::_hashCode) { // Object.hashCode can pull the hashCode from the header word // instead of doing a full VM transition once it's been computed.