cranelift: bump regalloc.rs to 0.0.24 and adapt to latest API changes;

This commit is contained in:
Benjamin Bouvier
2020-05-20 13:31:02 +02:00
parent 5c39b74eb8
commit 1f620e1b46
6 changed files with 21 additions and 21 deletions

View File

@@ -457,7 +457,7 @@ impl<I: VCodeInst> RegallocFunction for VCode<I> {
insn.get_regs(collector)
}
fn map_regs(insn: &mut I, mapper: &RegUsageMapper) {
fn map_regs<RUM: RegUsageMapper>(insn: &mut I, mapper: &RUM) {
insn.map_regs(mapper);
}