changeset 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 0b62a9d44c21
children 515bc212a53c
files src/cpu/x86/vm/sharedRuntime_x86_32.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.