History log of /PHP-7.0/ext/opcache/Optimizer/compact_literals.c (Results 26 – 44 of 44)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29
# dc70139d 11-Aug-2014 krakjoe

update zend_make_printable_zval to take TSRM context


Revision tags: php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31
# af7cb169 14-Jul-2014 Dmitry Stogov

Implemented builtin instruction for strlen()


# 9d6e45a0 09-Jul-2014 Dmitry Stogov

Changed zend_make_printable_zval() to return "use_copy" instead of additional reference argument.
Improved branch prediction.


Revision tags: php-5.4.31RC1, php-5.5.15RC1, php-5.6.0RC2
# b7715c7e 30-Jun-2014 Dmitry Stogov

Refactored parameter passing mechanism.

In PHP-5.6 and below each argument passed to user function was copies on VM stack twice.
Now we always have ZEND_INIT_FCALL (or simular) opcode th

Refactored parameter passing mechanism.

In PHP-5.6 and below each argument passed to user function was copies on VM stack twice.
Now we always have ZEND_INIT_FCALL (or simular) opcode that pushes "call frame" on top of VM stack.
"Call frame" is actually the same zend_execute_data structure.
All the following ZEND_SEND instructions push arguments on top of the stack in a way that they directly comes into corresponding CV variables of the called frame. Extra arguments are copied at the end of stack frame (after all CV and TMP variables) on function enterance.

There are two minor incompatibilities:
1) It's not allowed to decalre functions redefining arguments e.g. "function foo($a,$a) {}".
2) func_get_arg() and func_get args() return the current value of argument and not the original value that was sent.

show more ...


Revision tags: php-5.4.30, php-5.5.14
# 87b66722 20-Jun-2014 Dmitry Stogov

Code cleanup


Revision tags: php-5.6.0RC1
# a4f38192 18-Jun-2014 Dmitry Stogov

Use arena allocator for optimizer temporary data structures


Revision tags: php-5.5.14RC1, php-5.4.30RC1, php-5.6.0beta4, php-5.4.29, php-5.5.13
# feeebc2e 17-May-2014 Dmitry Stogov

Fixed new hash API usage


# bc99c0de 15-May-2014 Dmitry Stogov

Fixed hack. now we may store numbers not as pointers.


Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2
# 17d027ed 30-Apr-2014 Dmitry Stogov

Split IS_BOOL into IS_FALSE and IS_TRUE


Revision tags: php-5.5.12, php-5.4.28
# 5864ce8a 22-Apr-2014 Dmitry Stogov

Fixed compilation warnings


# afe66d89 21-Apr-2014 Dmitry Stogov

Cleanup


# e96073b1 17-Apr-2014 Dmitry Stogov

Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal no

Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly.
Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.

show more ...


Revision tags: php-5.4.28RC1
# f9b26bc3 15-Apr-2014 Dmitry Stogov

Cleanup (2-nd round)


Revision tags: php-5.5.12RC1, php-5.6.0beta1
# 3b25faa4 02-Apr-2014 Dmitry Stogov

Fixed 0 index handling


Revision tags: php-5.4.27, php-5.5.11
# b9646212 31-Mar-2014 Dmitry Stogov

Fixed optimizer (incomplete)


# 7465be4f 31-Mar-2014 Dmitry Stogov

Optimizer related fixes (incomplete)


# 5324f22f 28-Mar-2014 Dmitry Stogov

ext/opcache refactoring (incomplete)


Revision tags: php-5.5.11RC1, php-5.4.27RC1, php-5.5.10, php-5.4.26, php-5.6.0alpha3, php-5.4.26RC1, php-5.5.10RC1, php-5.6.0alpha2
# f4cfaf36 10-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24, php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28, php-5.5.7RC1, php-5.4.23RC1, php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1, php-5.5.4, php-5.4.20, php-5.5.4RC1, php-5.4.20RC1, php-5.5.3, php-5.4.19, php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27, php-5.4.17, php-5.5.0, php-5.3.27RC1, php-5.4.17RC1, php-5.5.0RC3, php-5.3.26, php-5.4.16, php-5.5.0RC2, php-5.3.26RC1, php-5.4.16RC1, php-5.5.0RC1, php-5.3.25, php-5.4.15, php-5.3.25RC1, php-5.5.0beta4, php-5.4.15RC1
# 2bfb523f 18-Apr-2013 Dmitry Stogov

Merge identical constants (and related cache_slots) in op_array->literals table.


12