History log of /php-src/ext/opcache/tests/jit/gh16879.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# de30ba50 25-Nov-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-16879: JIT dead code skipping does not update call_level

We intend to execute `MATCH_ERROR` in the VM and return to trace a hot
function in BB1. We generate a tail handler and ski

Fix GH-16879: JIT dead code skipping does not update call_level

We intend to execute `MATCH_ERROR` in the VM and return to trace a hot
function in BB1. We generate a tail handler and skip all remaining
oplines of BB0. That means the `INIT_FCALL` in BB0 is missed and
`call_level` is not increased to 1. This leads to the assertion
failure.
This patch fixes the issue by updating the `call_level` for the skipped
oplines.

Closes GH-16939.

show more ...