History log of /php-src/ext/opcache/jit/zend_jit_helpers.c (Results 151 – 175 of 229)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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

# bf515649 14-Sep-2020 Dmitry Stogov

JIT for ASSIGN_OBJ_OP

# 7b0a0531 10-Sep-2020 Dmitry Stogov

JIT for ASSIGN_OBJ

# 73c7fa27 08-Sep-2020 Dmitry Stogov

JIT for FETCH_DIM_W/RW insructions

Revision tags: php-8.0.0beta3, php-7.4.10, php-7.3.22
# a1a4c03b 28-Aug-2020 Nikita Popov

Fix call to type error functions from jit

Missed to adjust those calls.

# 9d409f2c 27-Aug-2020 Dmitry Stogov

Eliminate ZSTR_IS_INTERNED() check

Revision tags: php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21
# c48b745f 03-Aug-2020 Nikita Popov

Promote "undefined array key" notice to warning

This implements the last remaining part of the
https://wiki.php.net/rfc/engine_warnings RFC.

Closes GH-5927.

# 4b4869ff 29-Jul-2020 Dmitry Stogov

Merge common "cold" part

# b2248789 29-Jul-2020 George Peter Banyard

Implement 'Saner Numeric Strings' RFC:

RFC: https://wiki.php.net/rfc/saner-numeric-strings

This removes the -1 allow_error mode from is_numeric_string functions and replaces it by

Implement 'Saner Numeric Strings' RFC:

RFC: https://wiki.php.net/rfc/saner-numeric-strings

This removes the -1 allow_error mode from is_numeric_string functions and replaces it by
a trailing boolean out argument to preserve BC in a couple of places.

Most of the changes can be resumed to "numeric" strings which emitted a E_NOTICE now emit
a E_WARNING and "numeric" strings which emitted a E_WARNING now throw a TypeError.

This mostly affects:
- String offsets
- Arithmetic operations
- Bitwise operations

Closes GH-5762

show more ...

Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1
# 9f0213ff 20-Jul-2020 Dmitry Stogov

Remove old code (BP_VAR_RW warning)

# ebb94af7 15-Jul-2020 Dmitry Stogov

Fixed tracing JIT for ASSIGN to typed reference

# d4fdf79a 13-Jul-2020 Dmitry Stogov

JIT for array merging

Revision tags: php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19
# d30cd7d7 26-May-2020 Máté Kocsis

Review the usage of apostrophes in error messages

Closes GH-5590

# e45f7053 07-Jul-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fixed bug #79793


12345678910