mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
Fixed possible false assertion failure
This commit is contained in:
@@ -135,12 +135,11 @@ static void zend_mark_reachable_blocks(const zend_op_array *op_array, zend_cfg *
|
||||
b->flags |= ZEND_BB_GEN_VAR;
|
||||
b = blocks + block_map[live_range->end];
|
||||
b->flags |= ZEND_BB_KILL_VAR;
|
||||
if (!(b->flags & ZEND_BB_REACHABLE)) {
|
||||
if (!(b->flags & (ZEND_BB_REACHABLE|ZEND_BB_UNREACHABLE_FREE))) {
|
||||
if (cfg->split_at_live_ranges) {
|
||||
changed = 1;
|
||||
zend_mark_reachable(op_array->opcodes, cfg, b);
|
||||
} else {
|
||||
ZEND_ASSERT(!(b->flags & ZEND_BB_UNREACHABLE_FREE));
|
||||
ZEND_ASSERT(b->start == live_range->end);
|
||||
b->flags |= ZEND_BB_UNREACHABLE_FREE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user