Skip to content

Commit cb10ac1

Browse files
committed
Fixed compilation warning
1 parent 6d5922b commit cb10ac1

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
@@ -4395,6 +4395,7 @@ static int zend_jit_math_long_long(dasm_State **Dst,
43954395
tmp_reg = ZREG_R1;
43964396
}
43974397
| LONG_MATH opcode, result_reg, op2_addr, tmp_reg
4398+
(void)tmp_reg;
43984399
}
43994400
}
44004401
if (may_overflow) {
@@ -5135,6 +5136,7 @@ static int zend_jit_long_math_helper(dasm_State **Dst,
51355136
}
51365137
| GET_ZVAL_LVAL result_reg, op1_addr
51375138
| LONG_MATH ZEND_BW_AND, result_reg, tmp_addr, tmp_reg
5139+
(void)tmp_reg;
51385140
} else {
51395141
if (Z_MODE(res_addr) == IS_MEM_ZVAL && Z_REG(res_addr) == ZREG_RAX) {
51405142
| mov aword T1, r0 // save
@@ -5233,6 +5235,7 @@ static int zend_jit_long_math_helper(dasm_State **Dst,
52335235
}
52345236
| GET_ZVAL_LVAL result_reg, op1_addr
52355237
| LONG_MATH opcode, result_reg, op2_addr, tmp_reg
5238+
(void)tmp_reg;
52365239
}
52375240

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

0 commit comments

Comments
 (0)