History log of /PHP-7.1/Zend/zend_compile.c (Results 176 – 200 of 1956)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.12RC1, php-7.0.0beta2
# 74380105 10-Jul-2015 Nikita Popov

Try to fix finally issue


# 2a1a8f9e 02-Aug-2015 Hugh Davenport

Fixed bug #70183 null pointer deref (segfault) in zend_eval_const_expr


# ac87657d 31-Jul-2015 Bob Weinand

Implicit return should be always on the last line of a function


# d45d5271 29-Jul-2015 Bob Weinand

Fix bug #70164 (__COMPILER_HALT_OFFSET__ under namespace is not defined)


# a28115cc 28-Jul-2015 Julien Pauli

Fix for #70159 - Better magic constants substitution


# 33a91f57 27-Jul-2015 Bob Weinand

Set CG(zend_lineno) to beginning for final class errors/ops


# 7ca85d88 24-Jul-2015 Bob Weinand

Fully fix typed generator returns


# cff6cbc0 22-Jul-2015 Nikita Popov

Emit EXT_STMT for each statement

I'm excluding unticked statements for this (in 5.x they were included)
as this would just result in two consecutive EXT_STMTs.

Also add all clas

Emit EXT_STMT for each statement

I'm excluding unticked statements for this (in 5.x they were included)
as this would just result in two consecutive EXT_STMTs.

Also add all class statements to unticked statements, these would
generate superfluous EXT_STMT/TICKS in the parent op_array.

show more ...


# 2141ab9b 21-Jul-2015 Bob Weinand

Fix bug #70106 (Inheritance by anonymous class)


# 81a2c43d 21-Jul-2015 Bob Weinand

Add an option to not generate INIT_FCALL ops for user functions too


# c568ffe5 16-Jul-2015 Nikita Popov

Ignore getcwd return in zend_compile

To do this move the php_ignore_value macro to ZEND_IGNORE_VALUE.


# 4064ee30 11-Aug-2015 Xinchen Hui

Fixed bug #70240 (Segfault when doing unset($var());)


# 87a5f2c4 10-Aug-2015 Xinchen Hui

Fixed no return statement in function returning non-void


# 1003d01f 14-Jul-2015 Bob Weinand

Fix __METHOD__ in functions nested into methods


# e63c756c 11-Jul-2015 Xinchen Hui

Better implementation


# 0584df0a 10-Jul-2015 Bob Weinand

hmm, we do not need the nop after compilation, so does not matter for opcache...


# 56800e47 10-Jul-2015 Bob Weinand

a: try { ... } ≠ try { a: ... }


Revision tags: php-7.0.0beta1
# ef1b588f 10-Jul-2015 Dmitry Stogov

Resolve GOTO at compile time and replace it with sequnce of FREE/FE_FREE and JMP.


# 44f7348c 10-Jul-2015 Dmitry Stogov

Exception thrown by "return" statement (from TMP destructors) shouldn't be caught in the same function


Revision tags: php-5.6.11
# 549e8c49 10-Jul-2015 Dmitry Stogov

Squashed commit of the following:

commit 03cf871f1576f08b2348c141b209894a7bf17a86
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:31 2015 +0300

Revert "

Squashed commit of the following:

commit 03cf871f1576f08b2348c141b209894a7bf17a86
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:31 2015 +0300

Revert "Fixed bug #62210 (Exceptions can leak temporary variables. As a part of the fix serious refactoring was done. op_array->brk_cont_array was removed, and replaced with more general and speed efficient op_array->T_liveliness. ZEND_GOTO opcode is always replaced by ZEND_JMP at compile time). (Bob, Dmitry, Laruence)"

This reverts commit 5ee841325901a4b040cfea56292a24702fe224d9.

commit 285a68227ce3d380e821a24fa389aa5239bd3fe1
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:26 2015 +0300

Revert "Tuned off dubugging of live ranges"

This reverts commit 404dc93d35f7061fc4b1b41ad6cb0721b9b52bcc.

commit 93d9d11157301ee2ec99afb6f5744b126d17f637
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:17 2015 +0300

Revert "Remove loop_var_stack"

This reverts commit b3a4c05071c3786e27e1326fa1b4d5acad62fccd.

commit ede68ebbc284aec79e3f719f2c8dbf9da6907752
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:12 2015 +0300

Revert "ZEND_SEPARATE reuses temporaries"

This reverts commit 1852f538b9f8d5e7d67fe5a4f6080396d8b10034.

commit 96d8995dc1f517fb01b481736273767509f76c47
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:10 2015 +0300

Revert "Add assertion in liveliness computation"

This reverts commit ed14019e8c0c852480eebc6fc552d8c3d939dce1.

commit 0649d7bfef152e6cc8e67b922534e9946c634d9c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:07 2015 +0300

Revert "Fixed invalid live-range detection"

This reverts commit 54f367ee2a2e4cb7c952b17915c226fdc56038ab.

commit dfe8f3851f6b04595eb089323e3492115a59363e
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:04 2015 +0300

Revert "Add test guaranteeing that loop vars are only freed after potential return type exceptions"

This reverts commit f5db5a558d550bf441373febebbb02f3884209d1.

commit 52a94aad6f48a199358cc07f7e4f56bb73050504
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:01 2015 +0300

Revert "Fixed exception habdling on "return" statement."

This reverts commit 17c5315bdf8f8087979aeb55f6d3a512ba197cf5.

commit 6e90ad7331901711e89c2ceb2bcab5023e5cee60
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:44:58 2015 +0300

Revert "Fix too early terminated temporary range with break/cont/goto"

This reverts commit cc876c04b420589cb1f62b650d0c0e24975dd4af.

commit 7b766e44b1970e4031f75109c302c07ead2c05cb
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:44:55 2015 +0300

Revert "Fixed exception catching on break/continue"

This reverts commit 8c3f701eebfa92d761bb368cfa8c2d1ccf821b9d.

show more ...


# a49ce7bb 09-Jul-2015 Nikita Popov

Don't return T_ERROR from token_get_all()

This turned out to be rather inconvenient after all. Instead just
return the same output we did on PHP 5. If people want to have an
error, u

Don't return T_ERROR from token_get_all()

This turned out to be rather inconvenient after all. Instead just
return the same output we did on PHP 5. If people want to have an
error, use TOKEN_PARSE.

show more ...


# 8c3f701e 09-Jul-2015 Dmitry Stogov

Fixed exception catching on break/continue
Fixed "finaly" handling on exception in "return" statement


# cc876c04 09-Jul-2015 Bob Weinand

Fix too early terminated temporary range with break/cont/goto
I have no crashing or leaking reproduce script, only valgrind invalid reads for that one; hence no phpt here


# 54f367ee 09-Jul-2015 Dmitry Stogov

Fixed invalid live-range detection


# 301ee265 08-Jul-2015 Dmitry Stogov

Fixed situation, when CHECH_EXCEPTION() might change value of "opline" variable and the following "opline" useages would access elements of different opcode. That might lead to unpredictable behavior

Fixed situation, when CHECH_EXCEPTION() might change value of "opline" variable and the following "opline" useages would access elements of different opcode. That might lead to unpredictable behavior. (Only PHP-7 with GCC global register variables was affected).
CHECK_EXCEPTION() macro is removed. ZEND_VM_NEXT_OPCODE_CHECK_EXCEPTIO() should be used instead. It's equivalent to old CHECK_EXCEPTION() + ZEND_VM_NEXT_OPCODE().
As a side effect, this also slightly improved performnce of builds with GCC >= 4.8.

show more ...


12345678910>>...79