summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-11-23 16:19:22 +0300
committerSara Golemon <pollita@php.net>2020-11-24 16:51:54 +0000
commit9dc947522186766db4a7e2d603703a2250797577 (patch)
treeda4d42ddbd4d327d15111b0428df388c6aba2bbf
parentb71315b74d4d393621acd271e68d5a6f891f0496 (diff)
downloadphp-git-PHP-8.0.0.tar.gz
zend_jit_trace_stack_frame.stack can't be NULLPHP-8.0.0
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc1
1 files changed, 0 insertions, 1 deletions
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 {