From: Nikita Popov Date: Mon, 10 Apr 2017 22:04:07 +0000 (+0200) Subject: Set flags on the right block X-Git-Tag: php-7.2.0alpha1~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07fe8616e6750b6d2b1cc72ab54ea4663ec653fb;p=php Set flags on the right block --- diff --git a/ext/opcache/Optimizer/zend_cfg.c b/ext/opcache/Optimizer/zend_cfg.c index 3eac1f69d9..bc98db565b 100644 --- a/ext/opcache/Optimizer/zend_cfg.c +++ b/ext/opcache/Optimizer/zend_cfg.c @@ -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; } } }