diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-04-02 23:49:13 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-04-02 23:49:13 +0300 |
commit | f53240dbc479fe740a462b73743cc9deb31f88fd (patch) | |
tree | 88f159bd949bd28308f72cd5af4732c6c2c06d69 | |
parent | 9cb926d8d11f6f7b45bb5c8c56760de58ae76ea4 (diff) | |
download | php-git-f53240dbc479fe740a462b73743cc9deb31f88fd.tar.gz |
Use fastcall calling convention
-rw-r--r-- | Zend/zend_execute.h | 2 | ||||
-rw-r--r-- | Zend/zend_execute_API.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 |