diff src/cpu/x86/vm/graalCodeInstaller_x86.cpp @ 18262:f7d45e2426d4

converted HotSpotObjectConstant to an interface
author Doug Simon <doug.simon@oracle.com>
date Wed, 05 Nov 2014 21:07:59 +0100
parents a8cff27ca2e1
children d611982fb10e
line wrap: on
line diff
--- a/src/cpu/x86/vm/graalCodeInstaller_x86.cpp	Wed Nov 05 17:32:21 2014 +0100
+++ b/src/cpu/x86/vm/graalCodeInstaller_x86.cpp	Wed Nov 05 21:07:59 2014 +0100
@@ -60,9 +60,9 @@
 
 void CodeInstaller::pd_patch_OopConstant(int pc_offset, Handle& constant) {
   address pc = _instructions->start() + pc_offset;
-  Handle obj = HotSpotObjectConstant::object(constant);
+  Handle obj = HotSpotObjectConstantImpl::object(constant);
   jobject value = JNIHandles::make_local(obj());
-  if (HotSpotObjectConstant::compressed(constant)) {
+  if (HotSpotObjectConstantImpl::compressed(constant)) {
     address operand = Assembler::locate_operand(pc, Assembler::narrow_oop_operand);
     int oop_index = _oop_recorder->find_index(value);
     _instructions->relocate(pc, oop_Relocation::spec(oop_index), Assembler::narrow_oop_operand);