summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-06 10:42:25 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-06 10:42:25 +0100
commit4f5f72c7afa18a036bcd2e510141853e9ef143fe (patch)
tree97e18f0fbaea5efc2f1ce8105ae0d308dc6b49f3 /Zend/zend_compile.h
parentac89139773a456f70f460fcc5fefb90c6326b257 (diff)
downloadphp-git-4f5f72c7afa18a036bcd2e510141853e9ef143fe.tar.gz
Remove ZEND_ACC_INHERITED flag
It is equivalent to checking ce->parent != NULL. Just adds more state that needs to be kept in sync.
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index 3be4b80f24..8df711b2a7 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -229,7 +229,7 @@ typedef struct _zend_oparray_context {
/* op_array or class is preloaded | | | */
#define ZEND_ACC_PRELOADED (1 << 10) /* X | X | | */
/* | | | */
-/* Class Flags (unused: 24...) | | | */
+/* Class Flags (unused: 13, 24...) | | | */
/* =========== | | | */
/* | | | */
/* Special class types | | | */
@@ -251,9 +251,6 @@ typedef struct _zend_oparray_context {
/* Class constants updated | | | */
#define ZEND_ACC_CONSTANTS_UPDATED (1 << 12) /* X | | | */
/* | | | */
-/* Class extends another class | | | */
-#define ZEND_ACC_INHERITED (1 << 13) /* X | | | */
-/* | | | */
/* Class implements interface(s) | | | */
#define ZEND_ACC_IMPLEMENT_INTERFACES (1 << 14) /* X | | | */
/* | | | */