Replace MachInst::gen_zero_len_nop with gen_nop(0)

This commit is contained in:
Kasey Carrothers
2021-01-29 01:09:32 -08:00
parent ac60ad6c9a
commit 99be82c866
5 changed files with 7 additions and 16 deletions

View File

@@ -726,7 +726,7 @@ impl<I: VCodeInst> RegallocFunction for VCode<I> {
}
fn gen_zero_len_nop(&self) -> I {
I::gen_zero_len_nop()
I::gen_nop(0)
}
fn maybe_direct_reload(&self, insn: &I, reg: VirtualReg, slot: SpillSlot) -> Option<I> {