Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/sharedRuntime_x86_32.cpp @ 6513:e4ae9932c292
enable hashCode fast path in generate_native_wrapper for GRAAL
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 05 Oct 2012 09:59:21 +0200 |
parents | 1d7922586cf6 |
children | 2dfab5607b3d |
line wrap: on
line diff
--- 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.