com php-src: Set flags on the right block: ext/opcache/Optimize r/zend_cfg.c
| From: | Nikita Popov | Date: | Mon, 10 Apr 2017 22:04:07 +0000 |
| Subject: | com php-src: Set flags on the right block: ext/opcache/Optimize r/zend_cfg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97538@lists.php.net to get a copy of this message | ||
Commit: 07fe8616e6750b6d2b1cc72ab54ea4663ec653fb
Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 11 Apr 2017 00:04:07 +0200
Parents: a4c7c55c0b63ddbccc724248ae317d391ea0b001
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=07fe8616e6750b6d2b1cc72ab54ea4663ec653fb
Log:
Set flags on the right block
Changed paths:
M ext/opcache/Optimizer/zend_cfg.c
Diff:
diff --git a/ext/opcache/Optimizer/zend_cfg.c b/ext/opcache/Optimizer/zend_cfg.c
index 3eac1f6..bc98db5 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;
}
}
}