diff options
-rw-r--r-- | ext/opcache/jit/zend_jit_x86.dasc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 75f7131f80..6a2fa0a7c8 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -7649,7 +7649,9 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, const z if (!jmp_done) { if (exit_addr) { if (branch_opcode == ZEND_JMPNZ || branch_opcode == ZEND_JMPNZ_EX) { - | jmp >9 + if (op1_info & MAY_BE_LONG) { + | jmp >9 + } } else if (op1_info & MAY_BE_LONG) { | jmp &exit_addr } |