From: Dmitry Stogov Date: Tue, 2 Apr 2019 20:49:13 +0000 (+0300) Subject: Use fastcall calling convention X-Git-Tag: php-7.4.0alpha1~610 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f53240dbc479fe740a462b73743cc9deb31f88fd;p=php Use fastcall calling convention --- diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h index f58b9d7c95..b825922008 100644 --- a/Zend/zend_execute.h +++ b/Zend/zend_execute.h @@ -344,7 +344,7 @@ ZEND_API zend_bool zend_is_executing(void); ZEND_API void zend_set_timeout(zend_long seconds, int reset_signals); ZEND_API void zend_unset_timeout(void); -ZEND_API ZEND_NORETURN void zend_timeout(int dummy); +ZEND_API ZEND_NORETURN void ZEND_FASTCALL zend_timeout(int dummy); ZEND_API zend_class_entry *zend_fetch_class(zend_string *class_name, int fetch_type); ZEND_API zend_class_entry *zend_fetch_class_by_name(zend_string *class_name, zend_string *lcname, int fetch_type); diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index dc8172360b..56786ae41b 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1123,7 +1123,7 @@ ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, static void zend_set_timeout_ex(zend_long seconds, int reset_signals); -ZEND_API ZEND_NORETURN void zend_timeout(int dummy) /* {{{ */ +ZEND_API ZEND_NORETURN void ZEND_FASTCALL zend_timeout(int dummy) /* {{{ */ { #if defined(PHP_WIN32) # ifndef ZTS