Aaron Patterson 2025-11-25 00:16:08 +0000 (Tue, 25 Nov 2025)
New Revision: 2b23b05bf2
https://github.com/ruby/ruby/commit/2b23b05bf2
Log:
ZJIT: Add a specialized instruction iterator to the assembler
This commit adds a specialized instruction iterator to the assembler
with a custom "peek" method. The reason is that we want to add basic
blocks to LIR. When we split instructions, we need to add any new
instructions to the correct basic block. The custom iterator will
maintain the correct basic block inside the assembler, that way when we
push any new instructions they will be appended to the correct place.
Modified files:
zjit/src/backend/
lir.rs