summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-05-15 11:06:26 +0300
committerDmitry Stogov <dmitry@zend.com>2019-05-15 11:06:26 +0300
commitf9e801584701779e9035e1a21b815e30f6e59129 (patch)
tree3dee0b60c08e1e0b6915e616c2cf40ba5567a396 /Zend/zend_execute.h
parenta94bee32ef579178eca3eaf6e4cf218930edf9a4 (diff)
downloadphp-git-f9e801584701779e9035e1a21b815e30f6e59129.tar.gz
Removed ability to compile PHP without EX(run_time_cache). ZEND_EX_USE_RUN_TIME_CACHE was always defined.
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r--Zend/zend_execute.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 3690dfdb44..c3fee42f24 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -365,22 +365,22 @@ ZEND_API void zend_cleanup_unfinished_execution(zend_execute_data *execute_data,
ZEND_API int ZEND_FASTCALL zend_do_fcall_overloaded(zend_execute_data *call, zval *ret);
#define CACHE_ADDR(num) \
- ((void**)((char*)EX_RUN_TIME_CACHE() + (num)))
+ ((void**)((char*)EX(run_time_cache) + (num)))
#define CACHED_PTR(num) \
- ((void**)((char*)EX_RUN_TIME_CACHE() + (num)))[0]
+ ((void**)((char*)EX(run_time_cache) + (num)))[0]
#define CACHE_PTR(num, ptr) do { \
- ((void**)((char*)EX_RUN_TIME_CACHE() + (num)))[0] = (ptr); \
+ ((void**)((char*)EX(run_time_cache) + (num)))[0] = (ptr); \
} while (0)
#define CACHED_POLYMORPHIC_PTR(num, ce) \
- (EXPECTED(((void**)((char*)EX_RUN_TIME_CACHE() + (num)))[0] == (void*)(ce)) ? \
- ((void**)((char*)EX_RUN_TIME_CACHE() + (num)))[1] : \
+ (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \
+ ((void**)((char*)EX(run_time_cache) + (num)))[1] : \
NULL)
#define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \
- void **slot = (void**)((char*)EX_RUN_TIME_CACHE() + (num)); \
+ void **slot = (void**)((char*)EX(run_time_cache) + (num)); \
slot[0] = (ce); \
slot[1] = (ptr); \
} while (0)