com php-src: Use zval_copy_ctor_func() instead of _zval_copy_ctor_func().: Zend/zend_types .h
| From: | Dmitry Stogov | Date: | Wed, 17 Jan 2018 14:46:57 +0000 |
| Subject: | com php-src: Use zval_copy_ctor_func() instead of _zval_copy_ctor_func().: Zend/zend_types .h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100947@lists.php.net to get a copy of this message | ||
Commit: b19d81e0da8ea0c8138c8ee88dae29063373d11f
Author: Dmitry Stogov <dmitry@zend.com> Wed, 17 Jan 2018 17:46:57 +0300
Parents: e9eff0a425d7fe43ac11a4395025cac6f804748b
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b19d81e0da8ea0c8138c8ee88dae29063373d11f
Log:
Use zval_copy_ctor_func() instead of _zval_copy_ctor_func().
Changed paths:
M Zend/zend_types.h
Diff:
diff --git a/Zend/zend_types.h b/Zend/zend_types.h
index fe260a0...c1543b7 100644
--- a/Zend/zend_types.h
+++ b/Zend/zend_types.h
@@ -1007,7 +1007,7 @@ static zend_always_inline uint32_t zval_delref_p(zval* pz) {
ZVAL_COPY_VALUE_EX(_z1, _z2, _gc, _t); \
if ((_t & ((IS_TYPE_REFCOUNTED|IS_TYPE_COPYABLE) << Z_TYPE_FLAGS_SHIFT)) != 0) { \
if ((_t & (IS_TYPE_COPYABLE << Z_TYPE_FLAGS_SHIFT)) != 0) { \
- _zval_copy_ctor_func(_z1 ZEND_FILE_LINE_CC); \
+ zval_copy_ctor_func(_z1); \
} else { \
GC_ADDREF(_gc); \
} \
@@ -1029,7 +1029,7 @@ static zend_always_inline uint32_t zval_delref_p(zval* pz) {
if (EXPECTED(!(GC_FLAGS(_gc) & GC_PERSISTENT))) { \
GC_ADDREF(_gc); \
} else { \
- _zval_copy_ctor_func(_z1 ZEND_FILE_LINE_CC); \
+ zval_copy_ctor_func(_z1); \
} \
} \
} while (0)