Skip to content

Commit

Permalink
Keep consistent cfg.map[]
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Jul 11, 2017
1 parent 85a86e5 commit 9d7d409
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/opcache/Optimizer/dfa_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ static void zend_ssa_remove_nops(zend_op_array *op_array, zend_ssa *ssa)
if (i != target) {
op_array->opcodes[target] = op_array->opcodes[i];
ssa->ops[target] = ssa->ops[i];
ssa->cfg.map[target] = b - blocks;
}
target++;
}
Expand Down

0 comments on commit 9d7d409

Please sign in to comment.