History log of /php-src/Zend/zend_opcode.c (Results 151 – 175 of 462)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-5.6.20RC1, php-7.0.5RC1
# 8e5b1397 12-Mar-2016 Nikita Popov

Evaluate arguments of new for classes without ctor

ML: http://markmail.org/message/4b3mk7jid64zvz34

Revision tags: php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1
# 5faedf5b 05-Feb-2016 Nikita Popov

Remove EXT_TYPE_UNUSED in favor of IS_UNUSED

This means we no longer allocate an unused VAR for the retval of
instructions that support unused results.

Nearly all instructions a

Remove EXT_TYPE_UNUSED in favor of IS_UNUSED

This means we no longer allocate an unused VAR for the retval of
instructions that support unused results.

Nearly all instructions already used the result variable only if
it was used. The only exception to this was the return value
variable for internal function call results. I've adjusted the code
to use a stack zval for the unused return case now. As we have
retval specialization now, we know that it doesn't matter.

show more ...

Revision tags: php-5.6.18, php-7.0.3, php-5.5.32
# 9017bb94 24-Jan-2016 Bob Weinand

Merge branch 'PHP-7.0'


# 001ce475 24-Jan-2016 Bob Weinand

Fixed bug #71441 (Typehinted Generator with return in try/finally crashes)

# 9b614791 22-Jan-2016 Xinchen Hui

We don't need to dup zend_class_constant here.

quote why the internal class is still using duplication:
```
for internal classes, the zend_class_constant is malloc-ed. we need to

We don't need to dup zend_class_constant here.

quote why the internal class is still using duplication:
```
for internal classes, the zend_class_constant is malloc-ed. we need to
free it.

if (const->ce == ce) {
zval_ptr_dtor(&const->value);
free(const)
}
so, if two classes share one const, and it(parent class) was freed
before, this read(in child class, const->ce) is invalid..

and destroy_zend_class is called via zend_hash_destroy(class_table).
which is not in reverse order... so, parent classes are dtor first.

if we want this work, we should change that order.
```

show more ...

Revision tags: php-5.6.18RC1, php-7.0.3RC1
# 65e592e4 12-Jan-2016 Julien Pauli

Merge branch 'PHP-7.0'

* PHP-7.0:
Trigger op_array_handler() if HAVE_OP_ARRAY_HANDLER is set


# bec0aec1 12-Jan-2016 Julien Pauli

Trigger op_array_handler() if HAVE_OP_ARRAY_HANDLER is set

Revision tags: php-5.6.17, php-5.5.31, php-7.0.2
# d0e3ce73 03-Jan-2016 Xinchen Hui

Merge branch 'PHP-7.0'


# bce7ed18 03-Jan-2016 Xinchen Hui

Duplicated i

# 56365982 02-Jan-2016 Xinchen Hui

Merge branch 'PHP-7.0'


# 97a9470d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2

Revision tags: php-7.0.2RC1
# 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 ...

# 09191789 14-Dec-2015 Nikita Popov

Add result op for ASSERT_CHECK to fix SSA

Otherwise one source of the phi node at the join point will be
borked.

I'm marking the ASSERT_CHECK result as unused in pass2, which is

Add result op for ASSERT_CHECK to fix SSA

Otherwise one source of the phi node at the join point will be
borked.

I'm marking the ASSERT_CHECK result as unused in pass2, which is
a bit ugly.

show more ...

Revision tags: php-5.6.17RC1, php-7.0.1RC1
# a75c1950 08-Dec-2015 Dmitry Stogov

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:38:42 2015 +0300

Fixed test expectation

commit 211f873f542504d0a0f72b6b5cb23908a1c99a2d
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:28:38 2015 +0300

Embed zend_class_constant.flags into zend_class_constants.value.u2.access_flags

commit 51deab84b2cdbf9cdb1a838cf33b2ee45c61748b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon Dec 7 11:18:55 2015 +0300

Fixed issues found by Nikita

commit 544dbd5b47e40d38a8ccb96bc5583e9cb7fdd723
Author: Dmitry Stogov <dmitry@zend.com>
Date: Sat Dec 5 02:41:05 2015 +0300

Refactored immplementation of https://wiki.php.net/rfc/class_const_visibility
@reeze created an RFC here and I emailed internals here and didn't get any responses positive/negative.

show more ...

Revision tags: php-7.0.0, php-5.6.16, php-7.0.0RC8
# 3a5fa926 13-Nov-2015 Dmitry Stogov

Squashed commit of the following:

commit afe963e6cc289696e60c6c679796ba2197c52b3b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 13 15:32:29 2015 +0300

Added ne

Squashed commit of the following:

commit afe963e6cc289696e60c6c679796ba2197c52b3b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 13 15:32:29 2015 +0300

Added news entry

commit a126b891c97848dd7ef8f1abf716328c46e0f19c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 13 15:29:21 2015 +0300

VERIFY_RETURN_TYPE doesn't have to cleanup operand on exception, bacause now, live temporary variables are released by exception unwinder.

commit 0db475e98786e6bcaa8401ee3e0b33743b9a2f2b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Nov 12 22:55:39 2015 +0300

Fixed copy/paste

commit 0ac73fe7174bec9de9a610319a98b259bea67f7f
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Nov 11 16:11:50 2015 +0300

Fixed bug #62210 (Exceptions can leak temporary variables)

show more ...

Revision tags: php-7.0.0RC7, php-5.6.16RC1
# baf97b1f 10-Nov-2015 Dmitry Stogov

We don't nees zend_op_array->brk_cont_array at run-time anymore.
Move zend_op_array->brk_cont_array into CG(context).brk_cont_array.
Use more compact zend_op_array->live_range instead of zend

We don't nees zend_op_array->brk_cont_array at run-time anymore.
Move zend_op_array->brk_cont_array into CG(context).brk_cont_array.
Use more compact zend_op_array->live_range instead of zend_op_array->brk_cont_array.
Semantic is kept unchanged.

show more ...

# 86a96f2c 10-Nov-2015 Dmitry Stogov

Changed meaning of "op2" for ZEND_FREE, ZEND_FE_FREE, ZEND_FAST_CALL, ZEND_FAST_RET.
Previously it was an instruction number.
Now it's an index in op_array->try_cacth_array[].

# 3e89c883 30-Oct-2015 Dmitry Stogov

Changed ZEND_CLONE->extended_value meaning to relative offset (previously it was absolute opline number)

Revision tags: php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# a05fc480 25-Sep-2015 Dmitry Stogov

Extended zend_extension API to allow storing additional data associated with op_arrays in opcache SHM. (op_array->reserved[])

Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 37f0c6b5 31-Aug-2015 Dmitry Stogov

Add myself into list of authors of the most refactored files.

# 942747cc 26-Aug-2015 Dmitry Stogov

Removed unused functions

Revision tags: php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44
# 58596897 04-Aug-2015 Dmitry Stogov

Get rid of ZEND_FAST_CALL_UNBOUND

# a16aa4c4 04-Aug-2015 Dmitry Stogov

Move most "finally" related code-generation from pass_two() to compiler.

Revision tags: php-5.6.12RC1, php-7.0.0beta2
# 74380105 10-Jul-2015 Nikita Popov

Try to fix finally issue

# d8fe645d 03-Aug-2015 Bob Weinand

Fix valgrind errors in phpdbg

Revert "We cannot safely assume that all op array will be refcount 0 after execution"
This reverts commit b6936adb58288a0606ed847802d9226cddb41e2b.

Fix valgrind errors in phpdbg

Revert "We cannot safely assume that all op array will be refcount 0 after execution"
This reverts commit b6936adb58288a0606ed847802d9226cddb41e2b.

This change turns out to not have been a clever idea and was causing more weirdness than it helped...

show more ...

12345678910>>...19