summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding/string.h
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-12-12 13:42:00 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2025-12-12 15:29:04 -0500
commit2884f53519c4b86072d5fc3b41a71cee697af8ba (patch)
treeed5621642555e88504c53068ece22944f4021025 /include/ruby/internal/encoding/string.h
parent3add3db797c4216423fdaa4bef6e2ee3c7630303 (diff)
YJIT: Add missing local variable type update for fallback setlocal blocks
Previously, the chain_depth>0 version of setlocal blocks did not update the type of the local variable in the context. This can leave the context with stale type information and trigger panics like in [Bug #21772] or lead to miscompilation. To trigger the issue, YJIT needs to see the same ISEQ before and after environment escape and have tracked type info before the escape. To trigger in ISEQs that do not send with a block, it probably requires Kernel#binding or the use of include/ruby/debug.h APIs.
Diffstat (limited to 'include/ruby/internal/encoding/string.h')
0 files changed, 0 insertions, 0 deletions