History log of /PHP-7.4/Zend/zend_ast.c (Results 26 – 50 of 158)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.


Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1
# 1e00b767 07-May-2018 Dmitry Stogov

Use iteration instead of recursion


Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1
# db307eae 02-Apr-2018 Dmitry Stogov

Dereference child1 only after NULL check


Revision tags: php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16
# 4bbf200b 15-Mar-2018 Dmitry Stogov

Optmized AST creation


# 64f64cf0 14-Mar-2018 Dmitry Stogov

zend_ast_destroy() optimization


# 73f7c846 14-Mar-2018 Dmitry Stogov

Mark zend_ast_export() as "cold".


Revision tags: php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2
# 5e8aa036 23-Jan-2018 Dmitry Stogov

Access extra data stored in zval through macros


Revision tags: php-7.1.14RC1, php-7.2.2RC1
# 022e0299 15-Jan-2018 Dmitry Stogov

Optimize zval_dtor_func()


Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# d3fa9007 03-Nov-2017 Dmitry Stogov

Removed workaraouns for inconsistent zvals (REFCOUNTED+INTERNED). They should be fixed now.


# 625d7075 02-Nov-2017 Nikita Popov

Don't dup after fetch_dimension_const

Any duplication that may be necessary must have happened earlier
already. Also I'm not sure what the IS_REF branch was there for
originally, but

Don't dup after fetch_dimension_const

Any duplication that may be necessary must have happened earlier
already. Also I'm not sure what the IS_REF branch was there for
originally, but it does not appear to be relevant anymore.

show more ...


# 54ebab96 31-Oct-2017 Dmitry Stogov

Workaroud for inconsistent ZVALs in AST produced by compiler (strings may be REFCOUNTED and INTERNED at the same time).


# fcc08ce1 30-Oct-2017 Dmitry Stogov

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.
This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.

show more ...


# 49ea143b 26-Oct-2017 Dmitry Stogov

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-count

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.

show more ...


Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5
# 9cf87aa1 24-Oct-2017 Dmitry Stogov

Avoid HashTable allocations for empty arrays (using zend_empty_array).


Revision tags: php-7.0.25, php-7.1.11RC1, php-7.2.0RC4
# ef5ea487 10-Oct-2017 Dmitry Stogov

Always use IS_CONSTANT_AST (IS_CONSTANT is removed).


Revision tags: php-7.0.25RC1
# 39ded1d5 09-Oct-2017 Dmitry Stogov

Changed zend_ast_ref structure to use only one allocation, removing dichotomy between heap/arena ASTs.


Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7
# bc5811f3 04-Jul-2017 Anatol Belski

further sync for vim mode lines


Revision tags: php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2
# 8bb29704 15-Jun-2017 Dmitry Stogov

Refactored API for constant array element propagation


Revision tags: php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1
# f5951cc8 23-Mar-2017 Nikita Popov

Fix lineno for AST_ZVAL nodes


# 183cd048 17-Mar-2017 Nikita Popov

Fix AST start lineno for list nodes

If the node is initialized with children, check if a child has a
lower start lineno, similar to what we do for fixed-sized nodes
as well.


Revision tags: php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1, php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10
# 5df97b33 06-Aug-2016 Sara Golemon

[ast] Fix exporting **= in expansion of assign op

(cherry picked from commit 9c3865eb6a72a6f369ba524c5a87b4896a3a9acb)


# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


1234567