8024769: Remove unused code in sharedRuntime.cpp

Removed unnecessary code

Reviewed-by: kvn, coleenp
This commit is contained in:
Tobias Hartmann 2014-04-04 10:22:35 +02:00 committed by Albert Noll
parent 6d6e850203
commit 8a4d8a9a5d

View file

@ -1268,8 +1268,6 @@ methodHandle SharedRuntime::resolve_sub_helper(JavaThread *thread,
}
#endif
if (is_virtual) {
nmethod* nm = callee_nm;
if (nm == NULL) CodeCache::find_blob(caller_frame.pc());
CompiledIC* inline_cache = CompiledIC_before(caller_nm, caller_frame.pc());
if (inline_cache->is_clean()) {
inline_cache->set_to_monomorphic(virtual_call_info);