Commit 05afc37
committed
JIT: Fix escape_if_undef on PHP-8.4 CALL VM
Two issues in zend_jit_escape_if_undef. Register orig_handler as
IR_FUNC_ADDR (was tripping the FUNC_ADDR assertion in side-trace
compile); replace ir_TAILCALL_1 with ir_CALL_1 + ir_RETURN(1) so
execute_ex reloads execute_data after the deopt on CALL VM.
Fixes GH-21368
Closes GH-220281 parent ef589ce commit 05afc37
2 files changed
Lines changed: 39 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8096 | 8096 | | |
8097 | 8097 | | |
8098 | 8098 | | |
8099 | | - | |
| 8099 | + | |
8100 | 8100 | | |
8101 | 8101 | | |
8102 | 8102 | | |
8103 | | - | |
8104 | | - | |
8105 | | - | |
8106 | | - | |
| 8103 | + | |
| 8104 | + | |
8107 | 8105 | | |
8108 | 8106 | | |
8109 | 8107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments