com php-src: Removed IS_TYPE_COPYABLE flag.: ext/op cache/Optimizer/sccp.c
| From: | Dmitry Stogov | Date: | Fri, 15 Sep 2017 09:29:46 +0000 |
| Subject: | com php-src: Removed IS_TYPE_COPYABLE flag.: ext/op cache/Optimizer/sccp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99440@lists.php.net to get a copy of this message | ||
Commit: 12550b2c39c708d30b6e6a525ca07693079bdc0a
Author: Dmitry Stogov <dmitry@zend.com> Fri, 15 Sep 2017 12:29:46 +0300
Parents: 5b61c399fc69c7442e4b6641109456aa9a59261f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=12550b2c39c708d30b6e6a525ca07693079bdc0a
Log:
Removed IS_TYPE_COPYABLE flag.
Changed paths:
M ext/opcache/Optimizer/sccp.c
Diff:
diff --git a/ext/opcache/Optimizer/sccp.c b/ext/opcache/Optimizer/sccp.c
index 9a1dee8..0a97711 100644
--- a/ext/opcache/Optimizer/sccp.c
+++ b/ext/opcache/Optimizer/sccp.c
@@ -1214,7 +1214,7 @@ static void sccp_visit_instr(scdf_ctx *scdf, zend_op *opline, zend_ssa_op
*ssa_o
if (!result) {
empty_partial_array(&zv);
} else {
- Z_TYPE_INFO_P(result) = PARTIAL_ARRAY | ((IS_TYPE_REFCOUNTED | IS_TYPE_COPYABLE) <<
Z_TYPE_FLAGS_SHIFT);
+ Z_TYPE_INFO_P(result) = PARTIAL_ARRAY | (IS_TYPE_REFCOUNTED << Z_TYPE_FLAGS_SHIFT);
ZVAL_COPY_VALUE(&zv, result);
ZVAL_NULL(result);
}