History log of /PHP-7.1/ext/opcache/Optimizer/block_pass.c (Results 101 – 125 of 151)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# 0f815642 06-Dec-2014 Nikita Popov

Drop ZEND_PRINT opcode in favor of ZEND_ECHO

The return value long(1) is an IS_CONST operand now.


# e112f6a0 14-Dec-2014 Anatol Belski

second shot on removing TSRMLS_*


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


Revision tags: php-5.6.4RC1
# 303d73ec 26-Nov-2014 Dmitry Stogov

Reimplemented silence operator (@) handling on exceptions. Now each silence region is stored in op_array->brk_cont_array. On exception ZEND_HANDLE_EXCEPTION handler traverse this array and restore or

Reimplemented silence operator (@) handling on exceptions. Now each silence region is stored in op_array->brk_cont_array. On exception ZEND_HANDLE_EXCEPTION handler traverse this array and restore original EG(error_reporting) if exception occured inside a "silence" region.

show more ...


Revision tags: php-5.5.20RC1, php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1
# ab539e17 20-Oct-2014 Dmitry Stogov

Removed old irrelevant comment


Revision tags: php-5.5.18, php-5.4.34
# 7c7b9184 05-Oct-2014 Dmitry Stogov

Fixed list() behavior inconsistency (string handling is disabled for all cases, ArrayAccess objects handling is enabled for all cases, ZEND_FETCH_DIM_TMP_VAR opcode is renamed into ZEND_FETCH_LIST, Z

Fixed list() behavior inconsistency (string handling is disabled for all cases, ArrayAccess objects handling is enabled for all cases, ZEND_FETCH_DIM_TMP_VAR opcode is renamed into ZEND_FETCH_LIST, ZEND_FETCH_ADD_LOCK flag is removed).

show more ...


Revision tags: php-5.5.18RC1, php-5.6.1
# 67a11b61 29-Sep-2014 Nikita Popov

Drop unused INIT_STRING opcode

INIT_STRING has been implemented as an UNUSED op1 to ADD_* for
some time now.


# 5bd34be6 28-Sep-2014 Nikita Popov

Opcache compatibility for coalesce operator


Revision tags: php-5.6.2
# 06103d65 23-Sep-2014 Dmitry Stogov

Use zval_ptr_dtor_nogc() to free IS_TMP_VAR operands.
Removed ZEND_SWITCH_FREE opcode (ZEND_FREE used instead).


# d244d3bb 22-Sep-2014 Dmitry Stogov

Fixed typo


# 3bc8a958 19-Sep-2014 Dmitry Stogov

Fixed useless or duplicated IS_INTERNED() checks


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)


# ee552b62 27-Aug-2014 Dmitry Stogov

Reorder fields for better nenory consumtion and data locality on 64-bit systems


Revision tags: php-5.6.0, 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
# 63d3f0b8 19-Aug-2014 Anatol Belski

basic macro replacements, all at once


# 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, 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
# eb5c6133 18-May-2014 Xinchen Hui

Fixed Zend Hash API usage (although it's in comments)


# feeebc2e 17-May-2014 Dmitry Stogov

Fixed new hash API usage


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


1234567