Bump regalloc.rs to 0.0.26;

And adapt to regalloc.rs API change to provide the exact number of vregs.
This commit is contained in:
Benjamin Bouvier
2020-06-10 17:02:34 +02:00
parent 5d5b39d685
commit 46093f6119
5 changed files with 17 additions and 17 deletions

View File

@@ -465,8 +465,8 @@ impl<I: VCodeInst> RegallocFunction for VCode<I> {
insn.is_move()
}
fn get_vreg_count_estimate(&self) -> Option<usize> {
Some(self.vreg_types.len())
fn get_num_vregs(&self) -> usize {
self.vreg_types.len()
}
fn get_spillslot_size(&self, regclass: RegClass, vreg: VirtualReg) -> u32 {