1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Commit Graph

4736 Commits

Author SHA1 Message Date
Dmitry Stogov 98dbae4feb Merge branch 'PHP-8.1'
* PHP-8.1:
  Tracing JIT: Use information about really called internal function return type to improve type inference.
2021-10-15 12:31:33 +03:00
Dmitry Stogov af0a980f45 Tracing JIT: Use information about really called internal function return type to improve type inference. 2021-10-15 12:30:16 +03:00
Dmitry Stogov 37dbad87f3 Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Use more general type guard to prevent useless trace splitting
2021-10-14 23:56:43 +03:00
Dmitry Stogov 88982a1d20 JIT: Use more general type guard to prevent useless trace splitting 2021-10-14 23:55:35 +03:00
Dmitry Stogov 04cbd84192 Always use direct pointer (not map_ptr slot) to access run_time_cache of a closure instance 2021-10-14 17:21:37 +03:00
Nikita Popov a35f72f51e Reduce indentation 2021-10-14 16:20:02 +02:00
Nikita Popov 89007f67d4 Fix delayed early bind if class already exists
We should not try to perform a delayed early bind if the class has
already been declared. This matches the behavior of an ordinary
early bind.
2021-10-14 14:29:22 +02:00
Dmitry Stogov 7193909e86 JIT: Cleanup dead and duplicate code 2021-10-14 14:08:57 +03:00
Dmitry Stogov ddaf64b56c Avoid non-immutable map_ptr indirection 2021-10-14 12:16:18 +03:00
Dmitry Stogov d31ebe6f10 Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Fixed incorrect FETCH_OBJ_W code for typed property (ARM64 part)
2021-10-13 14:51:46 +03:00
Dmitry Stogov 28cca5d451 JIT: Fixed incorrect FETCH_OBJ_W code for typed property (ARM64 part) 2021-10-13 14:51:34 +03:00
Dmitry Stogov 23a95d9d8e Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Fixed incorrect FETCH_OBJ_W code for typed property
2021-10-13 14:48:52 +03:00
Dmitry Stogov afeadc668b JIT: Fixed incorrect FETCH_OBJ_W code for typed property 2021-10-13 14:48:06 +03:00
Dmitry Stogov f90cf31bc7 Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Avoid generation of unused exit point for conditional braches with NULL/FALSE/TRUE operand
2021-10-12 16:59:31 +03:00
Dmitry Stogov da05c0a84f JIT: Avoid generation of unused exit point for conditional braches with NULL/FALSE/TRUE operand 2021-10-12 16:57:33 +03:00
Dmitry Stogov 176c319109 Merge branch 'PHP-8.1'
* PHP-8.1:
  Fixed type inference for COPY_TMP
2021-10-11 16:56:49 +03:00
Dmitry Stogov 1208fe932a Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fixed type inference for COPY_TMP
2021-10-11 16:56:40 +03:00
Dmitry Stogov a4c41d45cd Fixed type inference for COPY_TMP 2021-10-11 16:56:07 +03:00
Dmitry Stogov eeb16a7ab3 Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Fixed incorrect deoptimization info
2021-10-11 14:10:25 +03:00
Dmitry Stogov 912f040583 JIT: Fixed incorrect deoptimization info 2021-10-11 14:10:02 +03:00
Nikita Popov 9ecec661ce Merge branch 'PHP-8.1'
* PHP-8.1:
  Preserve key/value type invariant in range() type inference
2021-10-11 12:42:06 +02:00
Nikita Popov f0cf999223 Preserve key/value type invariant in range() type inference
Don't set PACKED key type if no value type is set.

Fixes oss-fuzz 6718410667458560.
2021-10-11 12:41:46 +02:00
Dmitry Stogov 40832f20f0 Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Fixed usage of incorrect specialized zval destructor
2021-10-11 13:02:52 +03:00
Dmitry Stogov bbe21365b4 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  JIT: Fixed usage of incorrect specialized zval destructor
2021-10-11 13:02:45 +03:00
Dmitry Stogov ccdda69a18 JIT: Fixed usage of incorrect specialized zval destructor 2021-10-11 13:00:23 +03:00
Dmitry Stogov f440894d9f Merge branch 'PHP-8.1'
* PHP-8.1:
  Fixed type inference (ASSIGN_OP with typed reference may cause type conversion)
2021-10-11 10:50:15 +03:00
Dmitry Stogov 04064187c2 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fixed type inference (ASSIGN_OP with typed reference may cause type conversion)
2021-10-11 10:50:06 +03:00
Dmitry Stogov ed8ec9d71e Fixed type inference (ASSIGN_OP with typed reference may cause type conversion) 2021-10-11 10:48:49 +03:00
Dmitry Stogov 4247bcff6b Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Fixed incorrect double/long register hinting
2021-10-08 15:47:35 +03:00
Dmitry Stogov 30f1f4b75b Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  JIT: Fixed incorrect double/long register hinting
2021-10-08 15:47:21 +03:00
Dmitry Stogov bbd875268a JIT: Fixed incorrect double/long register hinting 2021-10-08 15:46:49 +03:00
Dmitry Stogov 2552a63b87 Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Fixed extension handling
2021-10-08 14:08:44 +03:00
Dmitry Stogov 26bc7b38fb Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  JIT: Fixed extension handling
2021-10-08 14:08:34 +03:00
Dmitry Stogov b279de416e JIT: Fixed extension handling 2021-10-08 14:06:32 +03:00
Dmitry Stogov 0bfd87e886 Merge branch 'PHP-8.1'
* PHP-8.1:
  Flush error messages emitted during preloading
2021-10-08 12:35:50 +03:00
Dmitry Stogov b2c43a4efb Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Flush error messages emitted during preloading
2021-10-08 12:35:38 +03:00
Dmitry Stogov 45b127ad4a Flush error messages emitted during preloading 2021-10-08 12:34:25 +03:00
Dmitry Stogov efcc83ef39 Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT ARM64: Use proper register
2021-10-08 09:57:02 +03:00
Dmitry Stogov c9fb384c40 JIT ARM64: Use proper register 2021-10-08 09:56:44 +03:00
Dmitry Stogov 024d404adb Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Fixed FETCH_LIST_R on string
2021-10-07 22:15:59 +03:00
Dmitry Stogov d12d987686 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  JIT: Fixed FETCH_LIST_R on string
2021-10-07 22:15:30 +03:00
Dmitry Stogov 7cea20f937 JIT: Fixed FETCH_LIST_R on string 2021-10-07 22:13:39 +03:00
Dmitry Stogov 1bae50558a Merge branch 'PHP-8.1'
* PHP-8.1:
  Fixed bug #81512 (Unexpected behavior with arrays and JIT)
2021-10-07 21:29:18 +03:00
Dmitry Stogov 6bf1d24fbc Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fixed bug #81512 (Unexpected behavior with arrays and JIT)
2021-10-07 21:29:04 +03:00
Dmitry Stogov b47a48ff80 Fixed bug #81512 (Unexpected behavior with arrays and JIT) 2021-10-07 21:24:38 +03:00
Nikita Popov 0ffb7d228b Merge branch 'PHP-8.1'
* PHP-8.1:
  Check exception after undef var notice
2021-10-07 17:01:37 +02:00
Nikita Popov 71e82b9de2 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Check exception after undef var notice
2021-10-07 17:01:16 +02:00
Nikita Popov b564113756 Check exception after undef var notice
For simple assignments, we may not emit an exception check elsewhere,
so perform it directly after the undef var notice.
2021-10-07 16:54:26 +02:00
Nikita Popov e82f8938d5 Merge branch 'PHP-8.1'
* PHP-8.1:
  Handle undefined dim in assign_dim_helper
2021-10-07 15:36:18 +02:00
Nikita Popov d5e4f8ffe8 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Handle undefined dim in assign_dim_helper
2021-10-07 15:35:45 +02:00