From: Dmitry Stogov Date: Mon, 23 Nov 2020 13:19:22 +0000 (+0300) Subject: zend_jit_trace_stack_frame.stack can't be NULL X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=337d2af6ca50a52864034446d863331cbc61885e;p=php zend_jit_trace_stack_frame.stack can't be NULL --- diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 787294cdc7..e2ee7e6bd2 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -4194,7 +4194,6 @@ static int zend_jit_math_long_long(dasm_State **Dst, if (Z_MODE(res_addr) == IS_REG && (res_info & MAY_BE_LONG)) { if (may_overflow && (res_info & MAY_BE_GUARD) && JIT_G(current_frame) - && JIT_G(current_frame)->stack && zend_jit_opline_uses_reg(opline, Z_REG(res_addr))) { result_reg = ZREG_R0; } else {