[php-src] PR #15328: Change YIELD/YIELD_FROM to do not increment opline
| From: | arnaud-lb | Date: | Sat, 10 Aug 2024 12:20:43 +0000 |
| Subject: | [php-src] PR #15328: Change YIELD/YIELD_FROM to do not increment opline | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27813@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15328
Author: arnaud-lb
Related: https://github.com/php/php-src/pull/15275
YIELD and YIELD_FROM increment opline before returning, but in most places
we need the opline to point to the YIELD and YIELD_FROM.
Here I change YIELD/YIELD_FROM to not increment opline. This simplifies
the code a fixes a few crashes.