Skip to content

Commit

Permalink
JIT/ARM64: Fixed "may be used uninitialized" compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Jun 17, 2021
1 parent 6442cbf commit 82bcc9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/opcache/jit/zend_jit_arm64.dasc
Expand Up @@ -4634,7 +4634,8 @@ static int zend_jit_long_math_helper(dasm_State **Dst,
if (Z_MODE(op2_addr) == IS_MEM_ZVAL) {
| MEM_ACCESS_64_WITH_UOFFSET ldr, TMP2, Rx(Z_REG(op2_addr)), Z_OFFSET(op2_addr), TMP2
op2_reg = ZREG_TMP2;
} else if (Z_MODE(op2_addr) == IS_REG) {
} else {
ZEND_ASSERT(Z_MODE(op2_addr) == IS_REG);
op2_reg = Z_REG(op2_addr);
}

Expand Down

0 comments on commit 82bcc9b

Please sign in to comment.