Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCodeInstaller.cpp @ 4220:5c80ccb80036
Renaming of VMExits and VMEntries part 1.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 04 Jan 2012 20:59:11 +0100 |
parents | 319860ae697a |
children | bcbb918f5ac6 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Wed Jan 04 10:49:09 2012 -0800 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Wed Jan 04 20:59:11 2012 +0100 @@ -792,12 +792,7 @@ _instructions->relocate(instruction, oop_Relocation::spec_for_immediate(), Assembler::imm_operand); TRACE_graal_3("relocating (HotSpotType) at %016x/%016x", instruction, operand); } else { - jobject value; - if (obj() == HotSpotProxy::DUMMY_CONSTANT_OBJ()) { - value = (jobject) Universe::non_oop_word(); - } else { - value = JNIHandles::make_local(obj()); - } + jobject value = JNIHandles::make_local(obj()); *((jobject*) operand) = value; _instructions->relocate(instruction, oop_Relocation::spec_for_immediate(), Assembler::imm_operand); TRACE_graal_3("relocating (oop constant) at %016x/%016x", instruction, operand);