summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-05-29 11:50:27 +0300
committerDmitry Stogov <dmitry@zend.com>2019-05-29 11:50:27 +0300
commit6d89553c481099d35a1001540bbdb32afd3281a2 (patch)
tree76705324975c78f75f78c096d4ab19295fa3ca60 /Zend/zend_execute_API.c
parent1aa8d0e6808830958e6f7b63c1fb623227b34037 (diff)
parente14d77335c5827f1a0445141efd58440a1e65db7 (diff)
downloadphp-git-6d89553c481099d35a1001540bbdb32afd3281a2.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Mark "cold" functions
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index d90304ccb2..d2c7799d7f 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -210,7 +210,7 @@ static void zend_unclean_zval_ptr_dtor(zval *zv) /* {{{ */
}
/* }}} */
-static void zend_throw_or_error(int fetch_type, zend_class_entry *exception_ce, const char *format, ...) /* {{{ */
+static ZEND_COLD void zend_throw_or_error(int fetch_type, zend_class_entry *exception_ce, const char *format, ...) /* {{{ */
{
va_list va;
char *message = NULL;
@@ -562,7 +562,7 @@ ZEND_API zend_bool zend_is_executing(void) /* {{{ */
}
/* }}} */
-ZEND_API int zend_use_undefined_constant(zend_string *name, zend_ast_attr attr, zval *result) /* {{{ */
+ZEND_API ZEND_COLD int zend_use_undefined_constant(zend_string *name, zend_ast_attr attr, zval *result) /* {{{ */
{
char *colon;