diff options
author | Dmitry Stogov <dmitry@zend.com> | 2020-10-08 02:04:38 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2020-10-08 02:04:38 +0300 |
commit | 5a447b086bba450d61c283adfecbdec657cc5f34 (patch) | |
tree | d81e854912792e9e60dd3a2ce305019ef6f4e6f3 /Zend/zend_execute_API.c | |
parent | 45441b3c11fdbc06a036d35a9ff1b1c625744f7f (diff) | |
download | php-git-5a447b086bba450d61c283adfecbdec657cc5f34.tar.gz |
Change calling convention of zval_update_constant[_ex]() to fastcall.
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 7572a0d890..2eb3463eff 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -610,7 +610,7 @@ ZEND_API zend_bool zend_is_executing(void) /* {{{ */ } /* }}} */ -ZEND_API zend_result zval_update_constant_ex(zval *p, zend_class_entry *scope) /* {{{ */ +ZEND_API zend_result ZEND_FASTCALL zval_update_constant_ex(zval *p, zend_class_entry *scope) /* {{{ */ { if (Z_TYPE_P(p) == IS_CONSTANT_AST) { zend_ast *ast = Z_ASTVAL_P(p); @@ -638,7 +638,7 @@ ZEND_API zend_result zval_update_constant_ex(zval *p, zend_class_entry *scope) / } /* }}} */ -ZEND_API zend_result zval_update_constant(zval *pp) /* {{{ */ +ZEND_API zend_result ZEND_FASTCALL zval_update_constant(zval *pp) /* {{{ */ { return zval_update_constant_ex(pp, EG(current_execute_data) ? zend_get_executed_scope() : CG(active_class_entry)); } |