com php-src: Fixed RC1 Hanlding: ext/opcache/Optimizer/zend_i nference.c
| From: | Xinchen Hui | Date: | Sat, 19 Aug 2017 10:51:17 +0000 |
| Subject: | com php-src: Fixed RC1 Hanlding: ext/opcache/Optimizer/zend_i nference.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99102@lists.php.net to get a copy of this message | ||
Commit: 4b6345a3ae1dd1de9db542ebc03733596466eb1a
Author: Xinchen Hui <laruence@gmail.com> Sat, 19 Aug 2017 18:51:17 +0800
Parents: ea0df0739837f5df33c3fbae6c3f6ad5090086e3
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4b6345a3ae1dd1de9db542ebc03733596466eb1a
Log:
Fixed RC1 Hanlding
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 39ff7d8..d314f5b 100644
--- a/ext/opcache/Optimizer/zend_inference.c
+++ b/ext/opcache/Optimizer/zend_inference.c
@@ -3009,7 +3009,7 @@ static int zend_update_type_info(const zend_op_array *op_array,
tmp |= MAY_BE_RC1;
}
if (t1 & MAY_BE_OBJECT) {
- tmp |= t1 & MAY_BE_RCN;
+ tmp |= t1 & (MAY_BE_RC1|MAY_BE_RCN);
}
}
j = ssa_vars[ssa_ops[i].result_def].use_chain;