mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
7003454: order constants in constant table by number of references in code
Reviewed-by: kvn, never, bdelsart
This commit is contained in:
parent
6b52dbceb0
commit
81c085a1e2
17 changed files with 249 additions and 189 deletions
|
@ -765,7 +765,7 @@ void LIR_Assembler::ic_call(LIR_OpJavaCall* op) {
|
|||
void LIR_Assembler::vtable_call(LIR_OpJavaCall* op) {
|
||||
add_debug_info_for_null_check_here(op->info());
|
||||
__ load_klass(O0, G3_scratch);
|
||||
if (__ is_simm13(op->vtable_offset())) {
|
||||
if (Assembler::is_simm13(op->vtable_offset())) {
|
||||
__ ld_ptr(G3_scratch, op->vtable_offset(), G5_method);
|
||||
} else {
|
||||
// This will generate 2 instructions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue