[php-src] PR #25377: ext/opcache: tracing JIT drops reference type of a named by-ref argum…
| From: | devnexen | Date: | Tue, 10 Nov 2026 21:05:38 +0000 |
| Subject: | [php-src] PR #25377: ext/opcache: tracing JIT drops reference type of a named by-ref argum… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40521@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25377
Author: devnexen
…ent.
Fix GH-25359
zend_jit_trace_build_tssa() narrowed SEND_VAR_EX op1_def to the by-value type using op2.num, which
is the name literal for a named argument. The callee looked by-value, so the CV lost MAY_BE_REF and
the ref leaked or was returned unwrapped. Skip the narrowing for named arguments.