@@ -11105,7 +11105,7 @@ static zend_bool zend_jit_may_be_in_reg(const zend_op_array *op_array, zend_ssa
1110511105 return 1;
1110611106}
1110711107
11108- static zend_bool zend_needs_extra_reg_for_const(const zend_op_array *op_array, const zend_op *opline, zend_uchar op_type, znode_op op)
11108+ static zend_bool zend_needs_extra_reg_for_const(const zend_op *opline, zend_uchar op_type, znode_op op)
1110911109{
1111011110|.if X64
1111111111|| if (op_type == IS_CONST) {
@@ -11259,8 +11259,8 @@ static zend_regset zend_jit_get_scratch_regset(const zend_op *opline, const zend
1125911259 ZEND_REGSET_INCL(regset, ZREG_XMM0);
1126011260 }
1126111261 }
11262- if (zend_needs_extra_reg_for_const(op_array, opline, opline->op1_type, opline->op1) ||
11263- zend_needs_extra_reg_for_const(op_array, opline, opline->op1_type, opline->op2)) {
11262+ if (zend_needs_extra_reg_for_const(opline, opline->op1_type, opline->op1) ||
11263+ zend_needs_extra_reg_for_const(opline, opline->op1_type, opline->op2)) {
1126411264 ZEND_REGSET_INCL(regset, ZREG_R0);
1126511265 }
1126611266 }
@@ -11345,8 +11345,8 @@ static zend_regset zend_jit_get_scratch_regset(const zend_op *opline, const zend
1134511345 ZEND_REGSET_INCL(regset, ZREG_XMM0);
1134611346 }
1134711347 }
11348- if (zend_needs_extra_reg_for_const(op_array, opline, opline->op1_type, opline->op1) ||
11349- zend_needs_extra_reg_for_const(op_array, opline, opline->op1_type, opline->op2)) {
11348+ if (zend_needs_extra_reg_for_const(opline, opline->op1_type, opline->op1) ||
11349+ zend_needs_extra_reg_for_const(opline, opline->op1_type, opline->op2)) {
1135011350 ZEND_REGSET_INCL(regset, ZREG_R0);
1135111351 }
1135211352 }
0 commit comments