Skip to content

Commit d3776c7

Browse files
lewurmmo-beckluhenry
committed
8248816: C1: Fix signature mismatch of LIRGenerator::strengh_reduce_multiply
Co-authored-by: Monica Beckwith <[email protected]> Co-authored-by: Ludovic Henry <[email protected]> Reviewed-by: aph
1 parent 07c3021 commit d3776c7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ void LIRGenerator::cmp_reg_mem(LIR_Condition condition, LIR_Opr reg, LIR_Opr bas
291291
}
292292

293293

294-
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, int c, LIR_Opr result, LIR_Opr tmp) {
294+
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, jint c, LIR_Opr result, LIR_Opr tmp) {
295295

296296
if (is_power_of_2(c - 1)) {
297297
__ shift_left(left, exact_log2(c - 1), tmp);

src/hotspot/cpu/arm/c1_LIRGenerator_arm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ void LIRGenerator::cmp_reg_mem(LIR_Condition condition, LIR_Opr reg, LIR_Opr bas
326326
}
327327

328328

329-
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, int c, LIR_Opr result, LIR_Opr tmp) {
329+
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, jint c, LIR_Opr result, LIR_Opr tmp) {
330330
assert(left != result, "should be different registers");
331331
if (is_power_of_2(c + 1)) {
332332
LIR_Address::Scale scale = (LIR_Address::Scale) log2_intptr(c + 1);

src/hotspot/cpu/ppc/c1_LIRGenerator_ppc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ void LIRGenerator::cmp_reg_mem(LIR_Condition condition, LIR_Opr reg, LIR_Opr bas
290290
}
291291

292292

293-
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, int c, LIR_Opr result, LIR_Opr tmp) {
293+
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, jint c, LIR_Opr result, LIR_Opr tmp) {
294294
assert(left != result, "should be different registers");
295295
if (is_power_of_2(c + 1)) {
296296
__ shift_left(left, log2_int(c + 1), result);

src/hotspot/cpu/s390/c1_LIRGenerator_s390.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ void LIRGenerator::cmp_reg_mem(LIR_Condition condition, LIR_Opr reg, LIR_Opr bas
224224
__ cmp_reg_mem(condition, reg, new LIR_Address(base, disp, type), info);
225225
}
226226

227-
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, int c, LIR_Opr result, LIR_Opr tmp) {
227+
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, jint c, LIR_Opr result, LIR_Opr tmp) {
228228
if (tmp->is_valid()) {
229229
if (is_power_of_2(c + 1)) {
230230
__ move(left, tmp);

0 commit comments

Comments
 (0)