1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Commit Graph

2029 Commits

Author SHA1 Message Date
Dmitry Stogov
1f7cba2fec Update IR
IR commit: 89989794a25ac43778398545b32d030dddc0e8b1
2024-02-16 01:00:46 +03:00
Dmitry Stogov
ce96aa9188 Update IR
IR commit: f7c0ddb1b4630e1287b0239f85d64a6965dfea29
2024-02-14 23:57:22 +03:00
Michael Voříšek
87edeed3b9 Remove UNEXPECTED from typed prop checks
Closes GH-13143
2024-02-12 11:35:43 +01:00
Dmitry Stogov
2289af889c Update IR
IR commit: ab6ebce1cc25f7d2c634bd13af043f76d6ef524e
2024-02-12 12:24:48 +03:00
Dmitry Stogov
a3620cd6e7 Update IR
IR commit: d2ab283e3c3bb4b5ba21701a4d18f14fd9b3d798
2024-02-12 09:36:33 +03:00
Dmitry Stogov
71cccc0bcc Merge branch 'PHP-8.3'
* PHP-8.3:
  Fix TLS access in JIT with MUSL (#13329)
2024-02-12 08:16:46 +03:00
Dmitry Stogov
667b08c953 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix TLS access in JIT with MUSL (#13329)
2024-02-12 08:14:08 +03:00
Dmitry Stogov
94ba883e19 Fix TLS access in JIT with MUSL (#13329) 2024-02-12 08:13:23 +03:00
Ilija Tovilo
49ebfb04ef Fix JMP_FRAMELESS with ZEND_USE_ABS_JMP_ADDR
which is used on 32-bit machines.
2024-02-07 15:50:38 +01:00
Ilija Tovilo
631bc81607 Implement stackless internal function calls
Co-authored-by: Dmitry Stogov <dmitry@zend.com>

Closes GH-12461
2024-02-06 17:42:28 +01:00
David CARLIER
b8f10decb3 ZEND_ELEMENT_COUNT usage reduction. (#13324)
clang 18 is going to be released and in the meantime the counted_by
attribute usage had been constrained to true flexible arrays,
typical cases such as type name[1] ZEND_ELEMENT_COUNT(size) no longer
build.
2024-02-04 19:09:15 +00:00
Dmitry Stogov
cea64f7aa3 Update IR
IR commit: dfa54b88f929606908502f70b23964a7b388b1ab
2024-02-02 09:15:57 +03:00
Dmitry Stogov
2bf9f7eb19 Fix compilation warning 2024-02-01 12:45:41 +03:00
Dmitry Stogov
cc5a39458c Update IR
IR commit: 553af9c2263c873ac1d01aa49925a4713122e8b4
2024-02-01 00:14:24 +03:00
Dmitry Stogov
c50255c626 Update IR
IR commit: 682cc0ca6761164dbcd791e5f56283f8e88537d2

Fixes GH-13286
2024-01-31 22:20:10 +03:00
Dmitry Stogov
765382eeea Update IR
IR commit: 2ea3215ebd15a1fa332b8b6118df2bc51a60d81c

Fixes two recently introduced bugs caught by PHP nightly workwlow
https://github.com/php/php-src/actions/runs/7662701964/job/20884387539
2024-01-26 07:32:34 +03:00
Dmitry Stogov
90bab1e732 Update IR
IR commit: 87bf12844ea0e36151b3a172dce28b55b5ae1503

Fixes ext/opcache/tests/jit/bug81225_2.phpt failure
2024-01-25 23:31:55 +03:00
Dmitry Stogov
136a972ccb Update IR
IR commit: 0108cdf808d1e7dd6b702738949e095151f49040
2024-01-25 22:50:30 +03:00
Niels Dossche
e2c3c48307 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on
2024-01-24 17:49:05 +01:00
Niels Dossche
31e8cea1d6 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on
2024-01-24 17:48:57 +01:00
Niels Dossche
d417072ebe Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on
Closes GH-13234.
2024-01-24 17:47:40 +01:00
Dmitry Stogov
0becd4856d Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix GH-12481: PHP crash with JIT enabled
2024-01-22 15:57:01 +03:00
Dmitry Stogov
f120ac93a1 Fix GH-12481: PHP crash with JIT enabled 2024-01-22 15:56:12 +03:00
Niels Dossche
fe064d7f12 Fix GH-13142: Undefined variable name is shortened when contains \0
Uses the new %S formatter and introduces the necessary changes and
helpers.
2024-01-20 23:49:13 +01:00
Dmitry Stogov
2bacd4e110 Update IR
IR commit: 34aeda97a5febe81fb53a679800f8c6cd802c847
2024-01-17 13:51:59 +03:00
Daniil Gentili
c16ad918ba Change default method of disabling JIT
https://wiki.php.net/rfc/jit_config_defaults
Closes GH-12678
2024-01-15 09:39:13 +01:00
Dmitry Stogov
d9dfad8ea9 Update IR
IR commit: a6cfbffb0da4e11c45537dd83159c36eece6efa9
2024-01-10 17:38:48 +03:00
Peter Kokot
6aad7a07bb Fix DragonFly build (#13085)
On DragonFly by default the BSD make is used with the CSH shell and the
first prerequisite variable `$<` in Makefile doesn't work there. So, we
can simplify this by simply repeating the filename here.
2024-01-08 23:32:30 +01:00
Ilija Tovilo
37d5bee1dc Fix \e escape character on Windows
\e is not part of the C standard.

Closes GH-13058
2023-12-31 14:27:12 +01:00
Dmitry Stogov
df42f7f128 Update IR
IR commit: 730763fb25d096099af22c75190fbf7e748ac5af
2023-12-29 15:34:24 +03:00
Dmitry Stogov
0a8c97d1c3 Update IR
IR commit: 831f3810e07917ef2ffc4f531e7144944cc8d1c1
2023-12-28 20:25:07 +03:00
Dmitry Stogov
2ab1c3d5ad Update IR
IR commit: 76dea0e897bff7e67f560f9768672519bd9783d4
2023-12-26 18:18:13 +03:00
Dmitry Stogov
9267ebccfc Update IR
IR commit: 415f673be5116d121b934c0bdaf2a83f4d3a95fb
2023-12-21 13:45:23 +03:00
Cristian Rodríguez
927adfb1a6 Use a single version of mempcpy(3) (#12257)
While __php_mempcpy is only used by ext/standard/crypt_sha*, the
mempcpy "pattern" is used everywhere.

This commit removes __php_mempcpy, adds zend_mempcpy and transforms
open-coded parts into function calls.
2023-12-20 15:16:32 +00:00
Dmitry Stogov
b6a0e3d472 Manually optimize DIV to SHR 2023-12-19 14:10:43 +03:00
Dmitry Stogov
45119549f0 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fixed incorrect elimination of refcounted check in JIT for BIND_GLOBAL
2023-12-18 11:31:45 +03:00
Dmitry Stogov
b46ee531bd Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fixed incorrect elimination of refcounted check in JIT for BIND_GLOBAL
2023-12-18 11:29:17 +03:00
Dmitry Stogov
c67f6f449c Fixed incorrect elimination of refcounted check in JIT for BIND_GLOBAL
Fixes oss-fuzz #65135
2023-12-18 11:27:55 +03:00
Dmitry Stogov
41a72655ae Update IR
IR commit: 1b50e33690406928a3f50491214b66460e82bb2c
2023-12-18 10:24:33 +03:00
Dmitry Stogov
a146487739 Update IR
IR commit: 8065a69830820e600e19e6d41fb184541535546d
2023-12-12 02:12:51 +03:00
Ilija Tovilo
185627f0c6 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fix zend_jit_undefined_long_key overwriting dim when dim == result
2023-12-11 15:07:52 +01:00
Ilija Tovilo
e83a5683f9 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix zend_jit_undefined_long_key overwriting dim when dim == result
2023-12-11 15:07:44 +01:00
Ilija Tovilo
623da03845 Fix zend_jit_undefined_long_key overwriting dim when dim == result
Fixes oss-fuzz #64727
Closes GH-12900
2023-12-11 15:07:09 +01:00
Dmitry Stogov
a8eecec9b6 Fixed AAech64 build 2023-12-11 15:11:59 +03:00
Dmitry Stogov
9fa7763d32 Update IR
IR commit: eeed93083e73396985d8ade7d90006021b517315
2023-12-11 15:11:34 +03:00
Dmitry Stogov
7714f1fcf2 Support for IR API changes 2023-12-11 10:29:25 +03:00
Dmitry Stogov
f6376f5b12 Update IR
IR commit: dab739f3d2ea4eb547d0c61629473c10197444d5
2023-12-11 10:28:41 +03:00
Dmitry Stogov
1bf55959eb Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  JIT: Fix .debug_abbrev section in GDB JIT API.
2023-12-11 10:09:38 +03:00
Dmitry Stogov
ff22409082 JIT: Fix .debug_abbrev section in GDB JIT API. 2023-12-11 10:08:55 +03:00
Dmitry Stogov
b2483a180a Fix GH-12879: Function name is missing in error message on MacOS with function JIT 2023-12-07 10:35:22 +03:00