1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00

Set flags on the right block

This commit is contained in:
Nikita Popov
2017-04-11 00:04:07 +02:00
parent a4c7c55c0b
commit 07fe8616e6

View File

@@ -56,13 +56,13 @@ static void zend_mark_reachable(zend_op *opcodes, zend_cfg *cfg, zend_basic_bloc
opcode == ZEND_DO_FCALL ||
opcode == ZEND_DO_UCALL ||
opcode == ZEND_DO_FCALL_BY_NAME) {
b->flags |= ZEND_BB_ENTRY;
succ->flags |= ZEND_BB_ENTRY;
}
}
if (cfg->split_at_recv) {
if (opcode == ZEND_RECV ||
opcode == ZEND_RECV_INIT) {
b->flags |= ZEND_BB_RECV_ENTRY;
succ->flags |= ZEND_BB_RECV_ENTRY;
}
}
}