8012157: removed unused code in SharedRuntime::handle_wrong_method
authorneliasso
Tue, 23 Apr 2013 18:06:54 +0200
changeset 17125 db7ed6249110
parent 17124 d98cfa448934
child 17127 3665c17d4fba
child 17128 799aa0c1713e
8012157: removed unused code in SharedRuntime::handle_wrong_method Reviewed-by: kvn, roland, rbackman Contributed-by: albert.noll@oracle.com
hotspot/src/share/vm/runtime/sharedRuntime.cpp
--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Apr 23 13:48:02 2013 +0200
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Apr 23 18:06:54 2013 +0200
@@ -1316,12 +1316,6 @@
   assert(stub_frame.is_runtime_frame(), "sanity check");
   frame caller_frame = stub_frame.sender(&reg_map);
 
-  // MethodHandle invokes don't have a CompiledIC and should always
-  // simply redispatch to the callee_target.
-  address   sender_pc = caller_frame.pc();
-  CodeBlob* sender_cb = caller_frame.cb();
-  nmethod*  sender_nm = sender_cb->as_nmethod_or_null();
-
   if (caller_frame.is_interpreted_frame() ||
       caller_frame.is_entry_frame()) {
     Method* callee = thread->callee_target();