History log of /PHP-7.1/Zend/zend_vm_def.h (Results 151 – 175 of 1290)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9cebdc5d 11-Feb-2016 Nikita Popov

Fix yield-by-ref of constant

Typo in the condition...


# 1322672c 11-Feb-2016 Nikita Popov

Fix dangling send target when using yield from

Also drop some unnecessary TRY_DELREFs -- leftovers from the days
when null was refcounted.


# 81721a7d 05-Feb-2016 Dmitry Stogov

Specialize DO_FCALL (and variations) according to used/unused return value


# 2f5a1192 05-Feb-2016 Dmitry Stogov

Use extra specialization to eliminate run-time checks for conditions known at compile time in SEND_VAL_EX and SEND_VAR_EX.


# ef98adce 05-Feb-2016 Dmitry Stogov

Specialize ASSIGN according to used/unused return value


# 00a2c30c 02-Feb-2016 Bob Weinand

Add extra VM operand specialization

For now RETVAL and OP_DATA= are supported


# d5102558 01-Feb-2016 Dmitry Stogov

Rename IS_ERROR into _IS_ERROR (to prevent redefinition on Windows).


# e0627594 30-Jan-2016 Xinchen Hui

Fixed bug #71485 (Return typehint on interanal func causes Fatal error when it throws exception).


# 86f54fcd 28-Jan-2016 Dmitry Stogov

Use special type IS_ERROR instread of EG(error_zval). (we still need EG(error_zval) for SPL support).


# 6039d2d9 28-Jan-2016 Dmitry Stogov

Fixed bug #71474 (Crash because of VM stack corruption on Magento2).


# 7899498c 21-Jan-2016 Nikita Popov

Mark op1 of INIT_FCALL as NUM


# 6579e484 12-Jan-2016 Dmitry Stogov

Introduced BIND_STATIC opcode instead of FETCH_R/FETCH_W(static)+ASSIGN/ASSIGN_REF (similar to BIND_GLOBAL).
In the future we may refer to static variable by index instead of name, to eliminate h

Introduced BIND_STATIC opcode instead of FETCH_R/FETCH_W(static)+ASSIGN/ASSIGN_REF (similar to BIND_GLOBAL).
In the future we may refer to static variable by index instead of name, to eliminate hash lookup.

show more ...


# 97a9470d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2


# 3537e95d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2


# 65e456f3 29-Dec-2015 Nikita Popov

Introduce BIND_LEXICAL

This opcodes inserts a local CV into the closure static variable
table. This replaces the previous mechanism of having static
variables marked as LEXICAL, whic

Introduce BIND_LEXICAL

This opcodes inserts a local CV into the closure static variable
table. This replaces the previous mechanism of having static
variables marked as LEXICAL, which perform a symtable lookup
during copying.

This means a) functions which contain closures no longer have to
rebuild their symtable (better performance) and b) we can now track
used variables in SSA.

show more ...


# 00a3714e 23-Dec-2015 Dmitry Stogov

Support for optimization introduced in DFA pass (it may change type of instruction return oprand to IS_CV)


# 70f9ba00 23-Dec-2015 Xinchen Hui

This check become useless after 98885bfa1e5b4b33bbc356e221d734a1072804fe


# 98885bfa 23-Dec-2015 Dmitry Stogov

Consolidate indirect string offset modification checks (Nikita, Dmitry)

Check it once, instead of dozens of times.


# 6e6280a3 22-Dec-2015 Dmitry Stogov

Corrected error messages:

- we don't use NULL for overlaoded objects for ages
- fixed array/object mess


# 88eae43f 20-Dec-2015 Nikita Popov

Remove uses of VARs in extended_value

The DECLARE_(ANON_)INHERITED_CLASS(_DELAYED) opcodes were
referencing the parent ce VAR through extended_value. This is
hacky and we can't track

Remove uses of VARs in extended_value

The DECLARE_(ANON_)INHERITED_CLASS(_DELAYED) opcodes were
referencing the parent ce VAR through extended_value. This is
hacky and we can't track the def-use chain in SSA.

To avoid this, the layout of declaration opcodes is changed
as follows: op1 points to the lcname and rtd_key literals, in
that order. (For anon/lambda declarations only one of lcname or
rtd_key is present.) This frees up op2, which is now used to
reference the parent ce VAR in inheriting declarations. The
jmp offset for anon class declarations is moved frop op2 to
extended_value.

The changes were applied both to class and function declarations
to keep everything symmetric.

show more ...


# 0402f05b 21-Dec-2015 Dmitry Stogov

Fixed possible crash on Zend/tests/bug71154.phpt


# a917840f 17-Dec-2015 Nikita Popov

Fixed iter leak on by-ref foreach over const/tmp array

FE_FREE does not unregister the iter for plain arrays. So always
wrap into a REF wrapper, even if not strictly necessary, in
RE

Fixed iter leak on by-ref foreach over const/tmp array

FE_FREE does not unregister the iter for plain arrays. So always
wrap into a REF wrapper, even if not strictly necessary, in
RESET_RW. Alternatively we could use a flag to distinguish plain
positions and interators.

Also added a check for leaked iterators in shutdown_executor.

show more ...


# 9e44b6a6 17-Dec-2015 Dmitry Stogov

Fixed incorrect exception handling


# 56f11061 14-Dec-2015 Nikita Popov

Use FETCH_CLASS_EXCEPTION for instanceof

This does not collide with NO_AUTOLOAD -- missing classes will be
silenced, but invalid use of self etc will result in an exception
instead o

Use FETCH_CLASS_EXCEPTION for instanceof

This does not collide with NO_AUTOLOAD -- missing classes will be
silenced, but invalid use of self etc will result in an exception
instead of a fatal error.

show more ...


# 7078627d 14-Dec-2015 Nikita Popov

Fix leaks due to UNUSED CE fetch


12345678910>>...52