Skip to content

Commit d5e0f2d

Browse files
committed
Don't clear phi->spources[] too early.
1 parent a90ed34 commit d5e0f2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/Optimizer/zend_ssa.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,9 @@ void zend_ssa_remove_uses_of_var(zend_ssa *ssa, int var_num) /* {{{ */
13151315
int i, end = NUM_PHI_SOURCES(phi);
13161316
for (i = 0; i < end; i++) {
13171317
if (phi->sources[i] == var_num) {
1318+
#if 0
13181319
phi->sources[i] = -1;
1320+
#endif
13191321
phi->use_chains[i] = NULL;
13201322
}
13211323
}

0 commit comments

Comments
 (0)