diff 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
line wrap: on
line diff
--- a/src/share/vm/c1/c1_GraphBuilder.cpp	Mon Nov 12 14:03:53 2012 -0800
+++ b/src/share/vm/c1/c1_GraphBuilder.cpp	Thu Nov 15 10:42:06 2012 -0800
@@ -1836,7 +1836,7 @@
   // check if we could do inlining
   if (!PatchALot && Inline && klass->is_loaded() &&
       (klass->is_initialized() || klass->is_interface() && target->holder()->is_initialized())
-      && target->will_link(klass, callee_holder, code)) {
+      && target->is_loaded()) {
     // callee is known => check if we have static binding
     assert(target->is_loaded(), "callee must be known");
     if (code == Bytecodes::_invokestatic  ||