diff --git a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp index f488e863a68..78e96dc37db 100644 --- a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp @@ -283,10 +283,9 @@ void LIR_Assembler::osr_entry() { __ bind(L); } #endif - __ ldr(r19, Address(OSR_buf, slot_offset + 0)); + __ ldp(r19, r20, Address(OSR_buf, slot_offset)); __ str(r19, frame_map()->address_for_monitor_lock(i)); - __ ldr(r19, Address(OSR_buf, slot_offset + 1*BytesPerWord)); - __ str(r19, frame_map()->address_for_monitor_object(i)); + __ str(r20, frame_map()->address_for_monitor_object(i)); } } }