This commit is contained in:
T0b1
2023-05-23 13:38:01 +02:00
parent 0df60ce50f
commit a9d0dd56fb

View File

@@ -496,7 +496,12 @@ impl<'a> AllocationConsumer<'a> {
)
});
assert_eq!(preg, alloc.unwrap().to_real_reg().unwrap().into());
match alloc {
Some(alloc) => {
assert_eq!(preg, alloc.to_real_reg().unwrap().into());
},
None => {}
}
}
pub fn next(&mut self, pre_regalloc_reg: Reg) -> Reg {