diff options
author | Nikita Popov <nikic@php.net> | 2015-12-29 11:16:08 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-12-29 23:14:53 +0100 |
commit | 65e456f3649c649d8450325fc677442380911598 (patch) | |
tree | 5328e908895f890e22eba0f3c6b05bd4624d161b /Zend/zend_compile.h | |
parent | 4440436821404ff3c76682726e63d1aaf381f73a (diff) | |
download | php-git-65e456f3649c649d8450325fc677442380911598.tar.gz |
Introduce BIND_LEXICAL
This opcodes inserts a local CV into the closure static variable
table. This replaces the previous mechanism of having static
variables marked as LEXICAL, which perform a symtable lookup
during copying.
This means a) functions which contain closures no longer have to
rebuild their symtable (better performance) and b) we can now track
used variables in SSA.
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r-- | Zend/zend_compile.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index b157db5f63..d145ffc0a0 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -892,7 +892,6 @@ ZEND_API void zend_assert_valid_class_name(const zend_string *const_name); #define ZEND_FETCH_LOCAL 0x10000000 #define ZEND_FETCH_STATIC 0x20000000 #define ZEND_FETCH_GLOBAL_LOCK 0x40000000 -#define ZEND_FETCH_LEXICAL 0x50000000 #define ZEND_FETCH_TYPE_MASK 0x70000000 |