summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2025-11-24 16:16:08 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2025-12-03 13:37:40 -0800
commit2b23b05bf2c0f30f2c4ee9bb3030fa58f2cba3a6 (patch)
tree94e2b1795beeeca7917940d46656ace756f07d7d /include/ruby
parenta773bbf0cc35cd4b73509edd58a0757d06abaca6 (diff)
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.
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions