mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
8001077: remove ciMethod::will_link
Removed will_link and changed all calls to is_loaded(). Reviewed-by: kvn
This commit is contained in:
parent
f712e12f98
commit
4b288c8976
5 changed files with 3 additions and 25 deletions
|
@ -1836,7 +1836,7 @@ void GraphBuilder::invoke(Bytecodes::Code code) {
|
|||
// 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 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue