Mercurial > hg > graal-compiler
diff src/share/vm/c1x/c1x_CodeInstaller.cpp @ 1441:f8ab19e5acae
Fix oop relocation for static stub calls.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 03 Nov 2010 16:40:38 +0100 |
parents | d0c8d3a2a7e8 |
children | c0e244017dad |
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_CodeInstaller.cpp Mon Nov 01 23:50:37 2010 +0100 +++ b/src/share/vm/c1x/c1x_CodeInstaller.cpp Wed Nov 03 16:40:38 2010 +0100 @@ -591,6 +591,7 @@ oop ref = ((oop*) references->base(T_OBJECT))[0]; address call_pc = _instructions->start() + CiTargetMethod_Site::pcOffset(ref); _instructions->relocate(instruction, static_stub_Relocation::spec(call_pc)); + _instructions->relocate(instruction, oop_Relocation::spec_for_immediate(), Assembler::imm_operand); break; } case MARK_INVOKE_INVALID: