Skip to content

Commit 9d7d409

Browse files
committed
Keep consistent cfg.map[]
1 parent 85a86e5 commit 9d7d409

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/Optimizer/dfa_pass.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ static void zend_ssa_remove_nops(zend_op_array *op_array, zend_ssa *ssa)
153153
if (i != target) {
154154
op_array->opcodes[target] = op_array->opcodes[i];
155155
ssa->ops[target] = ssa->ops[i];
156+
ssa->cfg.map[target] = b - blocks;
156157
}
157158
target++;
158159
}

0 commit comments

Comments
 (0)