summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-11 10:55:15 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-11 10:55:15 +0300
commitf3aca3c852df1dc169e73c01ef1d47927a51a57a (patch)
tree5ee9de0290c4dd69d2694f7309e3d0d879844b87 /Zend/zend_API.h
parentbf9e2692c0d01db3df698df9e0f0057fa192b165 (diff)
downloadphp-git-f3aca3c852df1dc169e73c01ef1d47927a51a57a.tar.gz
Use "fastcal" calling convention for internal PHP functions on x86
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index cc6a7c361d..c05a527e6e 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -63,7 +63,7 @@ typedef struct _zend_fcall_info_cache {
#define ZEND_FN(name) zif_##name
#define ZEND_MN(name) zim_##name
-#define ZEND_NAMED_FUNCTION(name) void name(INTERNAL_FUNCTION_PARAMETERS)
+#define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
#define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(ZEND_FN(name))
#define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name))