comparison src/share/vm/c1/c1_GraphBuilder.cpp @ 6973:bb33c6fdcf0d

8001077: remove ciMethod::will_link Summary: Removed will_link and changed all calls to is_loaded(). Reviewed-by: kvn
author bharadwaj
date Thu, 15 Nov 2012 10:42:06 -0800
parents fd1d564dd460
children 1e41b0bc58a0
comparison
equal deleted inserted replaced
6972:bd7a7ce2e264 6973:bb33c6fdcf0d
1834 } 1834 }
1835 1835
1836 // check if we could do inlining 1836 // check if we could do inlining
1837 if (!PatchALot && Inline && klass->is_loaded() && 1837 if (!PatchALot && Inline && klass->is_loaded() &&
1838 (klass->is_initialized() || klass->is_interface() && target->holder()->is_initialized()) 1838 (klass->is_initialized() || klass->is_interface() && target->holder()->is_initialized())
1839 && target->will_link(klass, callee_holder, code)) { 1839 && target->is_loaded()) {
1840 // callee is known => check if we have static binding 1840 // callee is known => check if we have static binding
1841 assert(target->is_loaded(), "callee must be known"); 1841 assert(target->is_loaded(), "callee must be known");
1842 if (code == Bytecodes::_invokestatic || 1842 if (code == Bytecodes::_invokestatic ||
1843 code == Bytecodes::_invokespecial || 1843 code == Bytecodes::_invokespecial ||
1844 code == Bytecodes::_invokevirtual && target->is_final_method() || 1844 code == Bytecodes::_invokevirtual && target->is_final_method() ||