History log of /PHP-8.3/ext/opcache/jit/zend_jit_helpers.c (Results 76 – 100 of 165)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 445b6492 31-May-2021 Nikita Popov

Fix bug #81090 in JIT as well


# ac65f6af 27-May-2021 Dmitry Stogov

Fixed bug #81051 (Broken property type handling after incrementing reference)


# bf21261c 21-May-2021 Dmitry Stogov

Add missing undefined variable warning an result initialization.
(This fixes Zend/tests/bug78531.phpt without PROFITABILITY_CHECKS).


# db309b2e 20-May-2021 Dmitry Stogov

Don't assign to string offset after exception (This fixes
Zend/tests/bug31098.phpt failure without PROFITABILITY_CHECKS)


# cb376d8f 20-May-2021 Dmitry Stogov

Fixed Zend/tests/type_declarations/union_types/incdec_prop.phpt failure
masked by PROFITABILITY_CHECKS.


Revision tags: php-8.0.7RC1, php-7.4.20RC1
# c40231af 12-May-2021 George Peter Banyard

Mark various functions with void arguments.

This fixes a bunch of [-Wstrict-prototypes] warning,
because in C func() and func(void) have different semantics.


# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...


Revision tags: php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5
# 76452651 21-Apr-2021 Dmitry Stogov

Fixed incorrect error message


Revision tags: php-8.0.5RC1, php-7.4.18RC1
# d8e4fbae 08-Apr-2021 Dmitry Stogov

Fast Class Cache

This is generalization of idea, that was previously usesd for caching
resolution of class_entries in zend_type. Now very similar mechanizm is
used for general zend_s

Fast Class Cache

This is generalization of idea, that was previously usesd for caching
resolution of class_entries in zend_type. Now very similar mechanizm is
used for general zend_string into zend_class_entry resolution.

Interned zend_string with IS_STR_CLASS_NAME_MAP_PTR GC_FLAG uses its
refcount to adress corresponding zend_class_entry cache slot.
The refcount keeps an offset to this slot from CG(map_ptr_base).
Flag may be checked by ZSTR_HAS_CE_CACHE(str), cache slot may be read by
ZSTR_GET_CE_CACHE(str) and set by ZSTR_SET_CE_CACHE(str, ce).

show more ...


Revision tags: php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1
# 5caaf40b 29-Sep-2020 George Peter Banyard

Introduce pseudo-keyword ZEND_FALLTHROUGH

And use it instead of comments


# 6690547a 19-Mar-2021 Dmitry Stogov

Use zend_hash_lookup()


# 2f73cbb1 18-Mar-2021 Nikita Popov

Update one more use of NO_AUTOLOAD


# ef516481 10-Feb-2021 Dmitry Stogov

Use zend_type.ce_cache__ptr for caching class resulution during argument/result type checks


# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...


# 63263abf 06-Jan-2021 Nikita Popov

Remove unnecessary INDIRECT checks in JIT helpers


# c8df28d2 20-Nov-2020 Dmitry Stogov

Fixed 32-bit JIT


# 069f9cba 19-Nov-2020 Dmitry Stogov

Added missing deoptimization code for trampoline handling


# d44235ac 29-Oct-2020 Alex Dowad

Convert numeric string array keys to integers correctly in JITted code

While fixing bugs in mbstring, one of my new test cases failed with a strange
error message stating: 'Warning: Unde

Convert numeric string array keys to integers correctly in JITted code

While fixing bugs in mbstring, one of my new test cases failed with a strange
error message stating: 'Warning: Undefined array key 1...', when clearly the
array key had been set properly.

GDB'd that sucker and found that JIT'd PHP code was calling directly into
`zend_hash_add_new` (which was not converting the numeric string key to an
integer properly). But where was that code coming from? I examined the disasm,
looked up symbols to figure out where call instructions were going, then grepped
the codebase for those function names. It soon became clear that the disasm I
was looking at was compiled from `zend_jit_fetch_dim_w_helper`.

show more ...


# 0ac810bb 20-Oct-2020 Dmitry Stogov

Improve JIT for fetching character form string


# fc14dbb7 09-Oct-2020 Dmitry Stogov

Keep the same JIT code for PHP-8.0 and master (workaround against PHP-8.0 ABI freeze)


Revision tags: php-7.4.11, php-7.3.23
# e9820bf4 17-Sep-2020 Dmitry Stogov

Fixed memory leak in ext/spl/tests/bug77263.phpt


# f786c0e0 16-Sep-2020 Dmitry Stogov

Optimize code for FETCH_THIS + INIT_METHOD_CALL/ASSIGN_OBJ_OP/etc


# 5f1fb1a5 16-Sep-2020 Dmitry Stogov

JIT for INIT_METHOD_CALL


Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1
# a351da55 14-Sep-2020 Dmitry Stogov

Simplify zend_jit_pre/post_inc/dec_typed_ref() helpers


# 8f342ad4 14-Sep-2020 Dmitry Stogov

JIT for PRE/POST_INC/DEC_OBJ


1234567