Dmitry Stogov
b994237619
Merge branch 'PHP-8.0'
...
* PHP-8.0:
zend_jit_trace_stack_frame.stack can't be NULL
2020-11-23 16:19:54 +03:00
Dmitry Stogov
337d2af6ca
zend_jit_trace_stack_frame.stack can't be NULL
2020-11-23 16:19:22 +03:00
Dmitry Stogov
7f4b8f1349
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed use-after-free in PHPUnit tests
2020-11-23 14:43:04 +03:00
Dmitry Stogov
586ccfdfd5
Fixed use-after-free in PHPUnit tests
2020-11-23 14:42:38 +03:00
Dmitry Stogov
1c10d18573
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Keep value of register before possible side exit
2020-11-23 12:08:23 +03:00
Dmitry Stogov
4cf3da7383
Keep value of register before possible side exit
2020-11-23 12:07:05 +03:00
Nikita Popov
51b51d5aba
Merge branch 'PHP-8.0'
...
* PHP-8.0:
UPGRADING: (real) cast has been removed
Use MIN/MAX when dumping RANGE[]
2020-11-20 16:49:14 +01:00
Nikita Popov
fa67864c13
Use MIN/MAX when dumping RANGE[]
...
It's very common that one of the bounds is LONG_MIN or LONG_MAX.
Dump them as MIN/MAX instead of the int representation in that
case, as it makes the dump less noisy.
2020-11-20 16:47:46 +01:00
Dmitry Stogov
62526a0725
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed incorrect TRACE_FRAME_MASK_NESTED flag setting
2020-11-20 18:23:11 +03:00
Dmitry Stogov
c0d1dbcb43
Fixed incorrect TRACE_FRAME_MASK_NESTED flag setting
2020-11-20 18:22:21 +03:00
Dmitry Stogov
a5a78f3819
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed 32-bit JIT
2020-11-20 15:12:58 +03:00
Dmitry Stogov
c8df28d276
Fixed 32-bit JIT
2020-11-20 15:12:30 +03:00
Dmitry Stogov
02fa213d36
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Added missing deoptimization code for trampoline handling
2020-11-19 12:32:49 +03:00
Dmitry Stogov
069f9cbaa5
Added missing deoptimization code for trampoline handling
2020-11-19 12:32:36 +03:00
Dmitry Stogov
511a50d0d2
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed register clobbering
2020-11-18 10:22:41 +03:00
Dmitry Stogov
feed041fc8
Fixed register clobbering
2020-11-18 10:22:25 +03:00
Dmitry Stogov
fa7af81c22
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed trampoline handling
2020-11-17 23:56:39 +03:00
Dmitry Stogov
9841e8e411
Fixed trampoline handling
2020-11-17 23:56:05 +03:00
Dmitry Stogov
0ef67ba841
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed allocated register clobbering
2020-11-17 18:32:01 +03:00
Dmitry Stogov
e364af91b5
Fixed allocated register clobbering
2020-11-17 18:31:14 +03:00
Dmitry Stogov
87ae111a5c
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed false pasitive ASAN NULL pointer dereference warning
2020-11-17 16:24:44 +03:00
Dmitry Stogov
1523733bc4
Fixed false pasitive ASAN NULL pointer dereference warning
2020-11-17 16:23:30 +03:00
Nikita Popov
c4b2a40fdd
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix incorrectly optimized out live range
2020-11-17 10:20:52 +01:00
Nikita Popov
9cfb5261e4
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix incorrectly optimized out live range
2020-11-17 10:20:23 +01:00
Nikita Popov
df7417d127
Fix incorrectly optimized out live range
...
For x ? y : z style structures, the live range starts at z, but
may also hold the value of y. Make sure that the refcounting check
takes this into account, by checking the type of a potential phi
user.
2020-11-17 10:19:57 +01:00
Dmitry Stogov
977134352d
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed MAY_BE_INDIRECT inference
2020-11-16 18:17:17 +03:00
Dmitry Stogov
3fb1b0862c
Fixed MAY_BE_INDIRECT inference
2020-11-16 18:17:05 +03:00
Dmitry Stogov
6e50e2abc0
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed alias handling
2020-11-16 16:11:48 +03:00
Dmitry Stogov
e3c63de05b
Fixed alias handling
2020-11-16 16:11:25 +03:00
Dmitry Stogov
18d2b7f79a
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed reference-counting
Fixed incorrect FETCH_THIS optimization
2020-11-16 14:52:18 +03:00
Dmitry Stogov
eb6d496a93
Fixed reference-counting
2020-11-16 14:51:55 +03:00
Dmitry Stogov
edf5c1901f
Fixed incorrect FETCH_THIS optimization
2020-11-16 14:51:39 +03:00
Dmitry Stogov
04393f29a8
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed inconsistent VM stack state
2020-11-16 13:21:03 +03:00
Dmitry Stogov
bd321df479
Fixed inconsistent VM stack state
2020-11-16 13:19:44 +03:00
Dmitry Stogov
849b9e2bcd
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Trampoline cleanup
2020-11-16 12:06:09 +03:00
Dmitry Stogov
64dc79f906
Trampoline cleanup
2020-11-16 12:05:45 +03:00
Dmitry Stogov
d54e197bae
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed incorrectly eliminated type store
2020-11-11 20:14:40 +03:00
Dmitry Stogov
9acebe14df
Fixed incorrectly eliminated type store
2020-11-11 20:13:58 +03:00
Dmitry Stogov
9f13c8feb1
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Remove assertion
2020-11-11 18:34:30 +03:00
Dmitry Stogov
03e7854381
Remove assertion
2020-11-11 18:34:16 +03:00
Dmitry Stogov
fa355615a4
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed incorrect invariant guard motion
2020-11-11 17:35:14 +03:00
Dmitry Stogov
2d2d42b268
Fixed incorrect invariant guard motion
2020-11-11 17:34:46 +03:00
Dmitry Stogov
aa84e2c364
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Stop on fake frame
Fixed reference-counting propagation
2020-11-11 14:55:08 +03:00
Dmitry Stogov
de359c00b4
Stop on fake frame
2020-11-11 14:54:54 +03:00
Dmitry Stogov
a0de82ad75
Fixed reference-counting propagation
2020-11-11 14:54:00 +03:00
Dmitry Stogov
329d38c3e1
Merge branch 'PHP-8.0'
...
* PHP-8.0:
[Observer+JIT] Save opline before calling begin/end handlers
2020-11-11 13:51:07 +03:00
Dmitry Stogov
11c4821ba9
[Observer+JIT] Save opline before calling begin/end handlers
2020-11-11 13:50:53 +03:00
Nikita Popov
4945bc2609
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix phi use chain management when renaming variable
2020-11-09 17:08:46 +01:00
Nikita Popov
523dd9a2d9
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix phi use chain management when renaming variable
2020-11-09 17:08:38 +01:00
Nikita Popov
d971b67027
Fix phi use chain management when renaming variable
...
If there is a previous use of the new variable in the phi, we need
to NULL out the use chain of the new source we're adding.
Test case is reduced from an assertion failure in the Symfony Demo.
2020-11-09 17:08:16 +01:00