Bump regalloc2 to 0.6.0 (#5742)

* Bump regalloc2
* Certify regalloc2 0.6.0
This commit is contained in:
Trevor Elliott
2023-02-07 15:57:49 -08:00
committed by GitHub
parent 121094054b
commit 116e5a665f
5 changed files with 11 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ use crate::trace;
use crate::CodegenError;
use crate::ValueLocRange;
use regalloc2::{
Edit, Function as RegallocFunction, InstOrEdit, InstRange, Operand, OperandKind, PReg, PRegSet,
Edit, Function as RegallocFunction, InstOrEdit, InstRange, Operand, OperandKind, PRegSet,
RegClass, VReg,
};
@@ -1316,10 +1316,6 @@ impl<I: VCodeInst> RegallocFunction for VCode<I> {
&self.debug_value_labels[..]
}
fn is_pinned_vreg(&self, vreg: VReg) -> Option<PReg> {
pinned_vreg_to_preg(vreg)
}
fn spillslot_size(&self, regclass: RegClass) -> usize {
self.abi.get_spillslot_size(regclass) as usize
}