Skip to content

Commit 9b968ff

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: Fixed compilation warning
2 parents 7d37acc + 01dc872 commit 9b968ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4428,6 +4428,7 @@ static int zend_jit_math_long_long(dasm_State **Dst,
44284428
tmp_reg = ZREG_R1;
44294429
}
44304430
| LONG_MATH opcode, result_reg, op2_addr, tmp_reg
4431+
(void)tmp_reg;
44314432
}
44324433
}
44334434
if (may_overflow) {
@@ -5192,6 +5193,7 @@ static int zend_jit_long_math_helper(dasm_State **Dst,
51925193
}
51935194
| GET_ZVAL_LVAL result_reg, op1_addr
51945195
| LONG_MATH ZEND_BW_AND, result_reg, tmp_addr, tmp_reg
5196+
(void)tmp_reg;
51955197
} else {
51965198
if (Z_MODE(res_addr) == IS_MEM_ZVAL && Z_REG(res_addr) == ZREG_RAX) {
51975199
| mov aword T1, r0 // save
@@ -5290,6 +5292,7 @@ static int zend_jit_long_math_helper(dasm_State **Dst,
52905292
}
52915293
| GET_ZVAL_LVAL result_reg, op1_addr
52925294
| LONG_MATH opcode, result_reg, op2_addr, tmp_reg
5295+
(void)tmp_reg;
52935296
}
52945297

52955298
if (Z_MODE(res_addr) != IS_REG || Z_REG(res_addr) != result_reg) {

0 commit comments

Comments
 (0)