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_variables.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_variables.h')
| -rw-r--r-- | Zend/zend_variables.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h index 9748a4ad24..41027d18aa 100644 --- a/Zend/zend_variables.h +++ b/Zend/zend_variables.h @@ -106,8 +106,6 @@ static zend_always_inline void _zval_opt_copy_ctor_no_imm(zval *zvalue ZEND_FILE } } -ZEND_API int zval_copy_static_var(zval *p, int num_args, va_list args, zend_hash_key *key); - ZEND_API size_t zend_print_variable(zval *var); ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ZEND_API void _zval_internal_dtor_for_ptr(zval *zvalue ZEND_FILE_LINE_DC); |
