diff --git a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp index 2a8bd1edcb4..9eadcc9dcc4 100644 --- a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp @@ -2601,17 +2601,13 @@ void LIR_Assembler::increment_profile_ctr(LIR_Opr step, LIR_Opr dest_opr, LIR_Op } else { jint inc = step->as_constant_ptr()->as_jint_bits(); inc *= ProfileCaptureRatio; - switch (dest_opr->type()) { - case T_INT: { __ incrementw(counter_address, inc, dest); break; } case T_LONG: { __ increment(counter_address, inc, dest); - - break; } default: ShouldNotReachHere();