mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Make empty_fcall_info and empty_fcall_info_cache macros
See https://github.com/php/php-src/pull/18273, a constant may cause unnecessary cache misses. Closes GH-18326
This commit is contained in:
parent
3b87093bff
commit
16c4c066f4
2 changed files with 8 additions and 7 deletions
|
@ -53,10 +53,6 @@ ZEND_API void (*zend_execute_ex)(zend_execute_data *execute_data);
|
|||
ZEND_API void (*zend_execute_internal)(zend_execute_data *execute_data, zval *return_value);
|
||||
ZEND_API zend_class_entry *(*zend_autoload)(zend_string *name, zend_string *lc_name);
|
||||
|
||||
/* true globals */
|
||||
ZEND_API const zend_fcall_info empty_fcall_info = {0};
|
||||
ZEND_API const zend_fcall_info_cache empty_fcall_info_cache = {0};
|
||||
|
||||
#ifdef ZEND_WIN32
|
||||
ZEND_TLS HANDLE tq_timer = NULL;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue