com php-src: Use fastcall calling convention: Zend/zend_execu te.h Zend/zend_execute_API.c
| From: | Dmitry Stogov | Date: | Tue, 02 Apr 2019 20:49:13 +0000 |
| Subject: | com php-src: Use fastcall calling convention: Zend/zend_execu te.h Zend/zend_execute_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105496@lists.php.net to get a copy of this message | ||
Commit: f53240dbc479fe740a462b73743cc9deb31f88fd
Author: Dmitry Stogov <dmitry@zend.com> Tue, 2 Apr 2019 23:49:13 +0300
Parents: 9cb926d8d11f6f7b45bb5c8c56760de58ae76ea4
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f53240dbc479fe740a462b73743cc9deb31f88fd
Log:
Use fastcall calling convention
Changed paths:
M Zend/zend_execute.h
M Zend/zend_execute_API.c
Diff:
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index f58b9d7..b825922 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 dc81723..56786ae 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