From 057382da4eae3d40b10e428687939620014fe247 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Fri, 31 Jul 2026 19:14:22 +0100 Subject: [PATCH] Review comments --- src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp b/src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp index f3c306912f5..139c3cea21f 100644 --- a/src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp +++ b/src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp @@ -2802,7 +2802,7 @@ void LIR_Assembler::increment_profile_ctr(LIR_Opr step_opr, LIR_Opr dest_opr, ProfileStub *counter_stub = ProfileCaptureRatio > 1 ? new ProfileStub() : nullptr; - Register dest = dest_opr->as_register(); + Register dest = as_reg(dest_opr); auto lambda = [counter_stub, overflow_stub, freq_opr, ratio_shift, step_opr, md_reg, md_opr, md_offset_opr, dest_opr, dest] (LIR_Assembler* ce, LIR_Op* op) {