From 4b6345a3ae1dd1de9db542ebc03733596466eb1a Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sat, 19 Aug 2017 18:51:17 +0800 Subject: [PATCH] Fixed RC1 Hanlding --- ext/opcache/Optimizer/zend_inference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index 39ff7d8d49..d314f5bff3 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; -- 2.50.1