Skip to content

Commit

Permalink
Fixed compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Dec 20, 2021
1 parent 6d5922b commit cb10ac1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -4395,6 +4395,7 @@ static int zend_jit_math_long_long(dasm_State **Dst,
tmp_reg = ZREG_R1;
}
| LONG_MATH opcode, result_reg, op2_addr, tmp_reg
(void)tmp_reg;
}
}
if (may_overflow) {
Expand Down Expand Up @@ -5135,6 +5136,7 @@ static int zend_jit_long_math_helper(dasm_State **Dst,
}
| GET_ZVAL_LVAL result_reg, op1_addr
| LONG_MATH ZEND_BW_AND, result_reg, tmp_addr, tmp_reg
(void)tmp_reg;
} else {
if (Z_MODE(res_addr) == IS_MEM_ZVAL && Z_REG(res_addr) == ZREG_RAX) {
| mov aword T1, r0 // save
Expand Down Expand Up @@ -5233,6 +5235,7 @@ static int zend_jit_long_math_helper(dasm_State **Dst,
}
| GET_ZVAL_LVAL result_reg, op1_addr
| LONG_MATH opcode, result_reg, op2_addr, tmp_reg
(void)tmp_reg;
}

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

0 comments on commit cb10ac1

Please sign in to comment.