mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Revert "Change calling convention of zval_update_constant[_ex]() to fastcall."
This reverts commit 5a447b086b
.
Revert this ABI break from PHP-8.0, leaving it only on master.
This commit is contained in:
parent
cc58347105
commit
6188b7a1da
3 changed files with 17 additions and 8 deletions
|
@ -610,7 +610,7 @@ ZEND_API zend_bool zend_is_executing(void) /* {{{ */
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
ZEND_API zend_result ZEND_FASTCALL zval_update_constant_ex(zval *p, zend_class_entry *scope) /* {{{ */
|
||||
ZEND_API zend_result 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 ZEND_FASTCALL zval_update_constant_ex(zval *p, zend_class_e
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
ZEND_API zend_result ZEND_FASTCALL zval_update_constant(zval *pp) /* {{{ */
|
||||
ZEND_API zend_result zval_update_constant(zval *pp) /* {{{ */
|
||||
{
|
||||
return zval_update_constant_ex(pp, EG(current_execute_data) ? zend_get_executed_scope() : CG(active_class_entry));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue