com php-src: Added missed ~: ext/opcache/Optimizer/zend_infer ence.c
| From: | Dmitry Stogov | Date: | Mon, 25 Sep 2017 09:22:35 +0000 |
| Subject: | com php-src: Added missed ~: ext/opcache/Optimizer/zend_infer ence.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99532@lists.php.net to get a copy of this message | ||
Commit: 550595c085e9e887b449659725388f98c4cd5d4a
Author: Dmitry Stogov <dmitry@zend.com> Mon, 25 Sep 2017 12:22:35 +0300
Parents: d526ddec85cd7070a08c85cc258a55e5ee649fdd
Branches: PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=550595c085e9e887b449659725388f98c4cd5d4a
Log:
Added missed ~
Changed paths:
M ext/opcache/Optimizer/zend_inference.c
Diff:
diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c
index ecfb14c..fecd68f 100644
--- a/ext/opcache/Optimizer/zend_inference.c
+++ b/ext/opcache/Optimizer/zend_inference.c
@@ -2333,7 +2333,7 @@ static int zend_update_type_info(const zend_op_array *op_array,
if (opline->op1_type == IS_CV) {
if (!(orig & MAY_BE_REF)) {
if (orig & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) {
- orig &= (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE);
+ orig &= ~(MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE);
orig |= MAY_BE_OBJECT | MAY_BE_RC1 | MAY_BE_RCN;
}
if (orig & MAY_BE_OBJECT) {