diff options
author | Dmitry Stogov <dmitry@zend.com> | 2020-05-12 23:45:34 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2020-05-12 23:45:34 +0300 |
commit | 25b7df42836f110f3726c718bbd56755a949b7a2 (patch) | |
tree | f7326880dc0deeacab7aa00f3e94b97377d5e6a7 | |
parent | 2224f63bb5eb9c29eae84e89955393bb7d967d6d (diff) | |
download | php-git-25b7df42836f110f3726c718bbd56755a949b7a2.tar.gz |
Fixed invalid index
-rw-r--r-- | ext/opcache/jit/zend_jit_trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c index b40e71eb26..367b2335a1 100644 --- a/ext/opcache/jit/zend_jit_trace.c +++ b/ext/opcache/jit/zend_jit_trace.c @@ -1577,8 +1577,8 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin tmp |= MAY_BE_REF; } ssa_var_info[v].type = tmp; - ssa_var_info[i].ce = ce; - ssa_var_info[i].is_instanceof = 1; + ssa_var_info[v].ce = ce; + ssa_var_info[v].is_instanceof = 1; } else { ssa_var_info[v].type = MAY_BE_RC1 | MAY_BE_RCN | MAY_BE_REF | MAY_BE_ANY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF; } |