History log of /PHP-7.1/ext/opcache/Optimizer/zend_optimizer.c (Results 101 – 125 of 139)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.0
# 59848e3f 25-Aug-2014 Nikita Popov

Remove ZEND_ACC_INTERACTIVE and CG(interactive)

As far as I can discern these are leftovers of the interactive
shell implementation that was used before PHP 5.4. Now the readline
ext

Remove ZEND_ACC_INTERACTIVE and CG(interactive)

As far as I can discern these are leftovers of the interactive
shell implementation that was used before PHP 5.4. Now the readline
ext makes use of normal eval calls for this.

So, dropping these until there is evidence to the contrary, as they
currently wouldn't work anyway.

show more ...


Revision tags: POST_AST_MERGE, PRE_AST_MERGE
# 6f9f0bf2 25-Aug-2014 Anatol Belski

master renames phase 2


# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1


Revision tags: POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32
# 476bdbf8 19-Aug-2014 Anatol Belski

ported opcache


# 63d3f0b8 19-Aug-2014 Anatol Belski

basic macro replacements, all at once


# e2522b4f 15-Aug-2014 Xinchen Hui

Remove old version PHP supports


Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29, php-5.5.16RC1, php-5.4.32RC1
# ce1af1e4 05-Aug-2014 Dmitry Stogov

Fixed bug #67725 (now we create immutable arrays only in SHM)


Revision tags: 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()


Revision tags: php-5.4.31RC1, php-5.5.15RC1
# b36aaea6 07-Jul-2014 Dmitry Stogov

ZEND_SEND_VAR and ZEND_SEND_VAL specialization


Revision tags: 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, php-5.6.0RC1
# a4f38192 18-Jun-2014 Dmitry Stogov

Use arena allocator for optimizer temporary data structures


Revision tags: php-5.5.14RC1
# 14e6ee7f 11-Jun-2014 Dmitry Stogov

Use absolute addresses as branch targets for NEW, FE_RESET and FE_FETCH


Revision tags: php-5.4.30RC1, php-5.6.0beta4
# 3f6f0d5a 03-Jun-2014 Dmitry Stogov

Simplified and optimized ZEND_HANDLE_NUMERIC()


# b3b616cf 29-May-2014 Dmitry Stogov

Introduced immutable arrays. They don't need to be copyed and may be used directly from SHM.


Revision tags: php-5.4.29, php-5.5.13
# 19be8b67 26-May-2014 Dmitry Stogov

Fixed issue #183 (TMP_VAR is not only used once)


# 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
# 6a911e83 30-Apr-2014 Dmitry Stogov

Optimized JMPZNZ to avoid multiplication at runtime (may be it makes sense to use relative addresses everywere it'll lead to Position Independent Code)


Revision tags: php-5.5.12, php-5.4.28
# 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, php-5.5.12RC1, php-5.6.0beta1
# 76cc99fe 03-Apr-2014 Dmitry Stogov

Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)


Revision tags: php-5.4.27, php-5.5.11
# 2a612e91 01-Apr-2014 Dmitry Stogov

Fixed optimizer


# 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
# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


123456