This commit is contained in:
Andrew Haley 2026-07-07 17:55:35 +01:00
parent c45915e327
commit 5defa2c94b

View File

@ -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()) {