Max Bernstein 2026-07-07 18:56:00 +0000 (Tue, 07 Jul 2026)
New Revision: 49546f9075
https://github.com/ruby/ruby/commit/49546f9075
Log:
ZJIT: Expand anytostring into CondBranch
Instead of special-casing it in the optimizer, expand the run-time type
check into HIR and let the optimizer fold it if/when it can. Leave
the `AnyToString` opcode as the fallback.
Modified files:
zjit/src/hir.rs
zjit/src/hir/opt_tests.rs
zjit/src/hir/tests.rs