summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-09-03 15:16:32 +0200
committerNikita Popov <nikic@php.net>2014-09-03 15:18:06 +0200
commit9e753531842f524a1a147ca0244c041e59ecd117 (patch)
tree77f1dbf101b5012bb986f178cdd5379f67b84ec0 /Zend/zend_execute.c
parentc52511c30703d2921f813ccf1557bc042a7cd9d2 (diff)
downloadphp-git-9e753531842f524a1a147ca0244c041e59ecd117.tar.gz
Use zval_ptr_dtor_nogc to destroy literals
Also move the definition of zval_ptr_dtor_nogc to zend_variables.h (from zend_execute.h/.c) as it's used in a few places.
Diffstat (limited to 'Zend/zend_execute.c')
-rw-r--r--Zend/zend_execute.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 9237e97415..d981773b45 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -83,7 +83,6 @@ static const zend_internal_function zend_pass_function = {
#undef zval_ptr_dtor
#define zval_ptr_dtor(zv) i_zval_ptr_dtor(zv ZEND_FILE_LINE_CC TSRMLS_CC)
-#define zval_ptr_dtor_nogc(zv) i_zval_ptr_dtor_nogc(zv ZEND_FILE_LINE_CC TSRMLS_CC)
#define PZVAL_LOCK(z) if (Z_REFCOUNTED_P(z)) Z_ADDREF_P((z))
#define SELECTIVE_PZVAL_LOCK(pzv, opline) if (RETURN_VALUE_USED(opline)) { PZVAL_LOCK(pzv); }