summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-04-12 00:49:45 +0300
committerDmitry Stogov <dmitry@zend.com>2019-04-12 00:49:45 +0300
commit88a2268d6b9ff152399a8761dc826ce414c0b985 (patch)
tree95fbbbf38882c3a394d1924a62623ce11c04859e /Zend/zend_compile.h
parentdb93c26e6d77e615957d47d6284ec49763d42113 (diff)
downloadphp-git-88a2268d6b9ff152399a8761dc826ce414c0b985.tar.gz
Replace "ZEND_CALL_CTOR" hack by additional live-range
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index 82d70fd4b0..523d04e794 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -172,7 +172,8 @@ typedef struct _zend_try_catch_element {
#define ZEND_LIVE_LOOP 1
#define ZEND_LIVE_SILENCE 2
#define ZEND_LIVE_ROPE 3
-#define ZEND_LIVE_MASK 3
+#define ZEND_LIVE_NEW 4
+#define ZEND_LIVE_MASK 7
typedef struct _zend_live_range {
uint32_t var; /* low bits are used for variable type (ZEND_LIVE_* macros) */
@@ -506,7 +507,6 @@ struct _zend_execute_data {
#define ZEND_CALL_NESTED (0 << 1)
#define ZEND_CALL_TOP (1 << 1)
#define ZEND_CALL_FREE_EXTRA_ARGS (1 << 2)
-#define ZEND_CALL_CTOR (1 << 3)
#define ZEND_CALL_HAS_SYMBOL_TABLE (1 << 4)
#define ZEND_CALL_CLOSURE (1 << 5)
#define ZEND_CALL_RELEASE_THIS (1 << 6)