8195859: AArch64: vtableStubs gtest fails after 8174962
Gtest vtableStubs introduced by 8174962 fails on AArch64 with an invalid insn encoding Reviewed-by: duke
This commit is contained in:
parent
a43f7bc7d7
commit
9ec48886de
@ -1049,7 +1049,8 @@ void MacroAssembler::lookup_virtual_method(Register recv_klass,
|
||||
ldr(method_result, Address(method_result, vtable_offset_in_bytes));
|
||||
} else {
|
||||
vtable_offset_in_bytes += vtable_index.as_constant() * wordSize;
|
||||
ldr(method_result, Address(recv_klass, vtable_offset_in_bytes));
|
||||
ldr(method_result,
|
||||
form_address(rscratch1, recv_klass, vtable_offset_in_bytes));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user