changeset 22684:ceca35d52380

removed ununsed code
author Doug Simon <doug.simon@oracle.com>
date Thu, 15 Oct 2015 17:30:42 +0200
parents 2935e7fbd941
children 3039e5bb94cb
files src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp src/share/vm/jvmci/jvmciCodeInstaller.hpp
diffstat 3 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp	Thu Oct 15 13:57:24 2015 +0200
+++ b/src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp	Thu Oct 15 17:30:42 2015 +0200
@@ -90,10 +90,6 @@
   }
 }
 
-void CodeInstaller::pd_relocate_CodeBlob(CodeBlob* cb, NativeInstruction* inst) {
-  fatal("CodeInstaller::pd_relocate_CodeBlob - sparc unimp");
-}
-
 void CodeInstaller::pd_relocate_ForeignCall(NativeInstruction* inst, jlong foreign_call_destination) {
   address pc = (address) inst;
   if (inst->is_call()) {
--- 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()) {
--- a/src/share/vm/jvmci/jvmciCodeInstaller.hpp	Thu Oct 15 13:57:24 2015 +0200
+++ b/src/share/vm/jvmci/jvmciCodeInstaller.hpp	Thu Oct 15 17:30:42 2015 +0200
@@ -96,7 +96,6 @@
   void pd_patch_OopConstant(int pc_offset, Handle& constant);
   void pd_patch_MetaspaceConstant(int pc_offset, Handle& constant);
   void pd_patch_DataSectionReference(int pc_offset, int data_offset);
-  void pd_relocate_CodeBlob(CodeBlob* cb, NativeInstruction* inst);
   void pd_relocate_ForeignCall(NativeInstruction* inst, jlong foreign_call_destination);
   void pd_relocate_JavaMethod(oop method, jint pc_offset);
   void pd_relocate_poll(address pc, jint mark);