[php-src] PR #16939: Fix GH-16879: JIT dead code skipping does not update call_level
| From: | nielsdos | Date: | Mon, 25 Nov 2024 21:07:51 +0000 |
| Subject: | [php-src] PR #16939: Fix GH-16879: JIT dead code skipping does not update call_level | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29759@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16939
Author: nielsdos
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.