mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8263679: C1: Remove vtable call
Reviewed-by: vlivanov, kvn
This commit is contained in:
parent
11c8c78c47
commit
a67a679c78
13 changed files with 11 additions and 68 deletions
|
@ -2081,7 +2081,6 @@ void GraphBuilder::invoke(Bytecodes::Code code) {
|
|||
code == Bytecodes::_invokeinterface;
|
||||
Values* args = state()->pop_arguments(target->arg_size_no_receiver() + patching_appendix_arg);
|
||||
Value recv = has_receiver ? apop() : NULL;
|
||||
int vtable_index = Method::invalid_vtable_index;
|
||||
|
||||
// A null check is required here (when there is a receiver) for any of the following cases
|
||||
// - invokespecial, always need a null check.
|
||||
|
@ -2121,7 +2120,7 @@ void GraphBuilder::invoke(Bytecodes::Code code) {
|
|||
}
|
||||
}
|
||||
|
||||
Invoke* result = new Invoke(code, result_type, recv, args, vtable_index, target, state_before);
|
||||
Invoke* result = new Invoke(code, result_type, recv, args, target, state_before);
|
||||
// push result
|
||||
append_split(result);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue