Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/sharedRuntime_x86_32.cpp @ 7125:1baf7f1e3f23
decoupled C++ Graal runtime from C1
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 03 Dec 2012 15:32:17 +0100 |
parents | e522a00b91aa |
children | 291ffc492eb6 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/sharedRuntime_x86_32.cpp Mon Dec 03 13:56:13 2012 +0100 +++ b/src/cpu/x86/vm/sharedRuntime_x86_32.cpp Mon Dec 03 15:32:17 2012 +0100 @@ -1763,7 +1763,8 @@ int vep_offset = ((intptr_t)__ pc()) - start; -#ifdef COMPILER1 || GRAAL +#if defined(COMPILER1) || defined(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.