[GIT-PULLS] [php-src] PR #23450: JIT: Record fake init calls for subtraces (fixes array_map optimization)
[email protected] (arnaud-lb)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/23450 Author: arnaud-lb The array_map optimization may emit loops inside an INIT_FCALL-DO_FCALL sequence, which was not possible before. JIT doesn't expect that and forgets about pending calls when starting a subtrace for the loop. Fix by recording fake init calls in zend_jit_trace_subtrace().