History log of /PHP-7.1/ext/opcache/Optimizer/pass1_5.c (Results 51 – 75 of 92)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.4.33, php-5.5.17, php-5.6.1RC1
# 82096dc1 11-Sep-2014 Dmitry Stogov

Removed ZEND_QM_ASSIGN_VAR and ZEND_JMP_SET_VAR opcodes (in PHPNG they did exacly the same as ZEND_QM_ASSIGN and ZEND_JMP_SET)


Revision tags: php-5.5.17RC1, php-5.4.33RC1
# 234af84c 28-Aug-2014 Dmitry Stogov

Refactored optimizer (compile different opimizer passes separately, instead of including *.c file)


Revision tags: php-5.6.0
# 055b632e 26-Aug-2014 Dmitry Stogov

Fixed return operand type (Use IS_TMP_VAR instead of IS_VAR in the same way as it was before AST patch)


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

master renames phase 7


# 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
# 63d3f0b8 19-Aug-2014 Anatol Belski

basic macro replacements, all at once


# 99878ced 15-Aug-2014 Nikita Popov

ZEND_STRLEN and ZEND_DEFINED have IS_VAR results for now

This avoids issues with calls being expected to have an IS_VAR
result


# 101c0553 15-Aug-2014 Xinchen Hui

Add copyright header


# 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, 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()


# 6c8db864 11-Jul-2014 Dmitry Stogov

Implemented builtin instruction for strlen()


Revision tags: php-5.4.31RC1, php-5.5.15RC1
# 0a77dcd4 02-Jul-2014 Dmitry Stogov

Removed EG(in_execution). If EG(currentent_execute_data) is not NULL we are executing something.


# 4b09dd69 02-Jul-2014 Dmitry Stogov

Removed EG(active_op_array) and use corresponding value from EG(current_execute_data)


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, php-5.4.30RC1, php-5.6.0beta4, php-5.4.29, php-5.5.13
# 3fff53fc 18-May-2014 Dmitry Stogov

Optimize ZEND_POW (Rouven Weßling)


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
# df7ca608 24-Apr-2014 Dmitry Stogov

Optimized constant lookup


# 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 ...


# c92dd8ee 17-Apr-2014 Dmitry Stogov

Fixed ZEND_CAST related optimizations (now it returns IS_VAR instead of IS_TMP_VAR)


Revision tags: php-5.4.28RC1, php-5.5.12RC1
# 5dc52e48 14-Apr-2014 Dmitry Stogov

Fixed interface constants inheritance.
Now we use IS_REFERENCE for inhereted class constants.
I might miss some edje cases.


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


# d8099d04 02-Apr-2014 Dmitry Stogov

Changed data layout to allow more efficient operations


1234