96d98f4f50 (master): ZJIT: Thread through num_bits to LoadField/StoreField

0 views
Skip to first unread message

Max Bernstein

unread,
12:21 PM (9 hours ago) 12:21 PM
to ruby...@g.ruby-lang.org
Max Bernstein 2026-07-06 22:22:01 +0000 (Mon, 06 Jul 2026)

New Revision: 96d98f4f50

https://github.com/ruby/ruby/commit/96d98f4f50

Log:
ZJIT: Thread through num_bits to LoadField/StoreField

Don't try to infer it based on the type at codegen; it may be Empty and
that will give the wrong size (because it will match the first case).

See https://github.com/ruby/ruby/pull/17504

Modified files:
zjit/src/codegen.rs
zjit/src/hir.rs
Reply all
Reply to author
Forward
0 new messages