]> granicus.if.org Git - php/commitdiff
zend_jit_trace_stack_frame.stack can't be NULL
authorDmitry Stogov <dmitry@zend.com>
Mon, 23 Nov 2020 13:19:22 +0000 (16:19 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 23 Nov 2020 13:19:22 +0000 (16:19 +0300)
ext/opcache/jit/zend_jit_x86.dasc

index 787294cdc7d404261529384a529c77423e28f0f6..e2ee7e6bd295aa1065c09a114f53296713519b9c 100644 (file)
@@ -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 {