hotspot/src/cpu/x86/vm/macroAssembler_x86.cpp
changeset 35086 bbf32241d851
parent 34211 d25c2fc1e248
child 35110 f19bcdf40799
equal deleted inserted replaced
35085:839c8ba29724 35086:bbf32241d851
  2258     lea(rscratch1, entry);
  2258     lea(rscratch1, entry);
  2259     Assembler::call(rscratch1);
  2259     Assembler::call(rscratch1);
  2260   }
  2260   }
  2261 }
  2261 }
  2262 
  2262 
  2263 void MacroAssembler::ic_call(address entry) {
  2263 void MacroAssembler::ic_call(address entry, jint method_index) {
  2264   RelocationHolder rh = virtual_call_Relocation::spec(pc());
  2264   RelocationHolder rh = virtual_call_Relocation::spec(pc(), method_index);
  2265   movptr(rax, (intptr_t)Universe::non_oop_word());
  2265   movptr(rax, (intptr_t)Universe::non_oop_word());
  2266   call(AddressLiteral(entry, rh));
  2266   call(AddressLiteral(entry, rh));
  2267 }
  2267 }
  2268 
  2268 
  2269 // Implementation of call_VM versions
  2269 // Implementation of call_VM versions