Skip to content

Commit 25b7df4

Browse files
committed
Fixed invalid index
1 parent 2224f63 commit 25b7df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,8 +1577,8 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin
15771577
tmp |= MAY_BE_REF;
15781578
}
15791579
ssa_var_info[v].type = tmp;
1580-
ssa_var_info[i].ce = ce;
1581-
ssa_var_info[i].is_instanceof = 1;
1580+
ssa_var_info[v].ce = ce;
1581+
ssa_var_info[v].is_instanceof = 1;
15821582
} else {
15831583
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;
15841584
}

0 commit comments

Comments
 (0)