History log of /PHP-7.4/Zend/zend_generators.c (Results 126 – 150 of 241)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 60dbf7b5 02-Dec-2014 Dmitry Stogov

Fixed "finally" handling (the bug was introduced by recent removing of EX(delayed_exception))


# dcfe5877 28-Nov-2014 Dmitry Stogov

Rename EX_VAR_2() into ZEND_CALL_VAR() and EX_VAR_NUM_2() into ZEND_CALL_VAR_NUM().


# 9a36cb1a 28-Nov-2014 Dmitry Stogov

Get rid of EX(scope). In most cases we use EG(scope) anyway. EX(scope) was used to switch EG(scope) back after call, but it's possibleto use EX(func)->common.scope instead.


# 216ef321 27-Nov-2014 Dmitry Stogov

Changed "finally" handling. Removed EX(fast_ret) and EX(delayed_exception). Allocate and use additional IS_TMP_VAR slot on VM stack instead.


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1, php-5.5.18, php-5.4.34
# 84477c7c 13-Oct-2014 Anatol Belski

fix some signed/unsigned mismatch


# 0390cde4 09-Oct-2014 Dmitry Stogov

Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.


# bd9a2346 03-Oct-2014 Dmitry Stogov

Replaced EG(This) and EX(object) with EX(This).
Internal functions now recieves zend_execute_data as the first argument.


Revision tags: php-5.5.18RC1, php-5.6.1
# 9f7564b1 01-Oct-2014 Dmitry Stogov

Removed zend_execute_data->prev_nested_call. Reuse prev_execute_data instead.


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


Revision tags: php-5.4.33, php-5.5.17, php-5.6.1RC1, php-5.5.17RC1, php-5.4.33RC1
# ee552b62 27-Aug-2014 Dmitry Stogov

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


# b1f53ca4 27-Aug-2014 Dmitry Stogov

Use efree_size() instead of efree() where posible


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

master renames phase 2


Revision tags: POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32, 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
# 5aa91be5 07-Jul-2014 Dmitry Stogov

Simplify call-frame handling


# 6bf24f4d 04-Jul-2014 Dmitry Stogov

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


# c4d99ec9 02-Jul-2014 Dmitry Stogov

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


# 63c057e3 02-Jul-2014 Dmitry Stogov

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


# 4b09dd69 02-Jul-2014 Dmitry Stogov

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


# 412ad4b2 02-Jul-2014 Dmitry Stogov

Uinified call frame handling for user and internal functions.
Now EG(current_execute_data) always point to the call frame of the currently executed function.


# d9ebd0f3 02-Jul-2014 Nikita Popov

Fix bug #67497: eval with parse error causes segfault in generator


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, php-5.5.14RC1, php-5.4.30RC1
# c1965f58 05-Jun-2014 Dmitry Stogov

Use reference counting instead of zval duplication


Revision tags: php-5.6.0beta4, php-5.4.29, php-5.5.13
# bc357eaf 25-May-2014 Xinchen Hui

Fixed apply_func_args_t


Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2, php-5.5.12, php-5.4.28
# 65e2ed6e 24-Apr-2014 Dmitry Stogov

Redesigned zend_execute_data layout now EX(object), EX(scope) and EX(called_scope) arr properties of the current function execution co
ntext. They are set during zend_execute_data initialization

Redesigned zend_execute_data layout now EX(object), EX(scope) and EX(called_scope) arr properties of the current function execution co
ntext. They are set during zend_execute_data initialization and never changed.

show more ...


# ea2e1bb1 18-Apr-2014 Dmitry Stogov

Optimized zend_leave_helper()


Revision tags: php-5.4.28RC1, php-5.5.12RC1, php-5.6.0beta1
# c99b7675 09-Apr-2014 Dmitry Stogov

Fixed generator destruction


12345678910