diff src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp @ 22684:ceca35d52380

removed ununsed code
author Doug Simon <doug.simon@oracle.com>
date Thu, 15 Oct 2015 17:30:42 +0200
parents 3f6488b29c1a
children 316e768645c0
line wrap: on
line diff
--- a/src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp	Thu Oct 15 13:57:24 2015 +0200
+++ b/src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp	Thu Oct 15 17:30:42 2015 +0200
@@ -115,16 +115,6 @@
   TRACE_jvmci_3("relocating at %p/%p with destination at %p (%d)", pc, operand, dest, data_offset);
 }
 
-void CodeInstaller::pd_relocate_CodeBlob(CodeBlob* cb, NativeInstruction* inst) {
-  if (cb->is_nmethod()) {
-    nmethod* nm = (nmethod*) cb;
-    nativeJump_at((address)inst)->set_jump_destination(nm->verified_entry_point());
-  } else {
-    nativeJump_at((address)inst)->set_jump_destination(cb->code_begin());
-  }
-  _instructions->relocate((address)inst, runtime_call_Relocation::spec(), Assembler::call32_operand);
-}
-
 void CodeInstaller::pd_relocate_ForeignCall(NativeInstruction* inst, jlong foreign_call_destination) {
   address pc = (address) inst;
   if (inst->is_call()) {