Skip to content

Commit 3290d88

Browse files
committed
reduce diff
1 parent d971d56 commit 3290d88

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

zjit/src/backend/arm64/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,16 +1637,13 @@ impl Assembler {
16371637
let asm = self.arm64_split();
16381638
asm_dump!(asm, split);
16391639

1640-
// Linearize before here?
16411640
let mut asm = asm.alloc_regs(regs)?;
16421641
asm_dump!(asm, alloc_regs);
16431642

16441643
// We put compile_exits after alloc_regs to avoid extending live ranges for VRegs spilled on side exits.
16451644
asm.compile_exits();
16461645
asm_dump!(asm, compile_exits);
16471646

1648-
// linearize
1649-
//
16501647
if use_scratch_regs {
16511648
asm = asm.arm64_scratch_split();
16521649
asm_dump!(asm, scratch_split);

zjit/src/backend/lir.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,8 +1772,6 @@ impl Assembler
17721772
}
17731773
}
17741774

1775-
// TODO: Add idx field to Insn to store instruction index
1776-
// insn.idx = insn_idx;
17771775
self.idx += 1;
17781776

17791777
self.current_block().push_insn(insn);

0 commit comments

Comments
 (0)