@@ -1084,7 +1084,7 @@ void LIR_Assembler::typecheck_helper_slowcheck(ciKlass *k, Register obj, Registe
10841084 // check for self
10851085 __ beq (klass_RInfo, k_RInfo, *success_target);
10861086
1087- __ addi (sp, sp, - 2 * wordSize); // 2: store k_RInfo and klass_RInfo
1087+ __ subi (sp, sp, 2 * wordSize); // 2: store k_RInfo and klass_RInfo
10881088 __ sd (k_RInfo, Address (sp, 0 )); // sub klass
10891089 __ sd (klass_RInfo, Address (sp, wordSize)); // super klass
10901090 __ far_call (RuntimeAddress (Runtime1::entry_for (C1StubId::slow_subtype_check_id)));
@@ -1099,7 +1099,7 @@ void LIR_Assembler::typecheck_helper_slowcheck(ciKlass *k, Register obj, Registe
10991099 // perform the fast part of the checking logic
11001100 __ check_klass_subtype_fast_path (klass_RInfo, k_RInfo, Rtmp1, success_target, failure_target, nullptr );
11011101 // call out-of-line instance of __ check_klass_subtytpe_slow_path(...)
1102- __ addi (sp, sp, - 2 * wordSize); // 2: store k_RInfo and klass_RInfo
1102+ __ subi (sp, sp, 2 * wordSize); // 2: store k_RInfo and klass_RInfo
11031103 __ sd (klass_RInfo, Address (sp, wordSize)); // sub klass
11041104 __ sd (k_RInfo, Address (sp, 0 )); // super klass
11051105 __ far_call (RuntimeAddress (Runtime1::entry_for (C1StubId::slow_subtype_check_id)));
@@ -2139,7 +2139,7 @@ void LIR_Assembler::lir_store_slowcheck(Register k_RInfo, Register klass_RInfo,
21392139 // perform the fast part of the checking logic
21402140 __ check_klass_subtype_fast_path (klass_RInfo, k_RInfo, Rtmp1, success_target, failure_target, nullptr );
21412141 // call out-of-line instance of __ check_klass_subtype_slow_path(...)
2142- __ addi (sp, sp, - 2 * wordSize); // 2: store k_RInfo and klass_RInfo
2142+ __ subi (sp, sp, 2 * wordSize); // 2: store k_RInfo and klass_RInfo
21432143 __ sd (klass_RInfo, Address (sp, wordSize)); // sub klass
21442144 __ sd (k_RInfo, Address (sp, 0 )); // super klass
21452145 __ far_call (RuntimeAddress (Runtime1::entry_for (C1StubId::slow_subtype_check_id)));
0 commit comments