]> granicus.if.org Git - php/commit
IS_CONST operands don't have to be separated. Use reference-counting instead of dupli...
authorDmitry Stogov <dmitry@zend.com>
Tue, 17 May 2016 05:45:06 +0000 (08:45 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 17 May 2016 05:45:06 +0000 (08:45 +0300)
commit8f7b1a3248e29469b78eab645be3aea1a62f0adc
tree640e97e2267ec30224db82f02d6192e33e0e495d
parent1fe7b3bca1cd8730a28d6c00b375f30a85a3e01c
IS_CONST operands don't have to be separated. Use reference-counting instead of duplication.

- with opcache all IS_CONST operands are not refcounted (scalars, interned strings or immutable arrays)
- without opcache IS_CONST operands are not shared between processes or threads and may use common reference counters
Zend/zend_vm_def.h
Zend/zend_vm_execute.h