From 5defa2c94ba67e8412a66035c16cc5f039e9cdf8 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Tue, 7 Jul 2026 17:55:35 +0100 Subject: [PATCH] More --- src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp index 62c73d40659..a4e0ebea540 100644 --- a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp @@ -2663,7 +2663,7 @@ void LIR_Assembler::increment_profile_ctr(LIR_Opr step, LIR_Opr dest_opr, LIR_Op // If (dest & mask) < step, we just overflowed. switch (ProfileCaptureRatio) { case 1: - __ cbzw(rscratch1, *overflow_stub->entry()); + __ cbzw(dest, *overflow_stub->entry()); break; default: if (step->is_register()) {