mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use "fastcal" calling convention for internal PHP functions on x86
This commit is contained in:
parent
bf9e2692c0
commit
f3aca3c852
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
||||
|
|
|
@ -408,7 +408,7 @@ struct _zend_op_array {
|
|||
#define ZEND_RETURN_REFERENCE 1
|
||||
|
||||
/* zend_internal_function_handler */
|
||||
typedef void (*zif_handler)(INTERNAL_FUNCTION_PARAMETERS);
|
||||
typedef void ZEND_FASTCALL (*zif_handler)(INTERNAL_FUNCTION_PARAMETERS);
|
||||
|
||||
typedef struct _zend_internal_function {
|
||||
/* Common elements */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue