Mercurial > hg > graal-compiler
changeset 10199:a5c95fcf7cb7
8012157: removed unused code in SharedRuntime::handle_wrong_method
Reviewed-by: kvn, roland, rbackman
Contributed-by: albert.noll@oracle.com
author | neliasso |
---|---|
date | Tue, 23 Apr 2013 18:06:54 +0200 |
parents | 247342108a11 |
children | 93b8272814cf 0b55a78c6be5 |
files | src/share/vm/runtime/sharedRuntime.cpp |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Tue Apr 23 13:48:02 2013 +0200 +++ b/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(®_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();