cranelift: Use GPR newtypes extensively in x64 lowering (#3798)
We already defined the `Gpr` newtype and used it in a few places, and we already defined the `Xmm` newtype and used it extensively. This finishes the transition to using the newtypes extensively in lowering by making use of `Gpr` in more places. Fixes #3685
This commit is contained in:
@@ -15,7 +15,6 @@ pub type ValueSlice<'a> = &'a [Value];
|
||||
pub type ValueArray2 = [Value; 2];
|
||||
pub type ValueArray3 = [Value; 3];
|
||||
pub type WritableReg = Writable<Reg>;
|
||||
pub type OptionWritableReg = Option<WritableReg>;
|
||||
pub type VecReg = Vec<Reg>;
|
||||
pub type VecWritableReg = Vec<WritableReg>;
|
||||
pub type ValueRegs = crate::machinst::ValueRegs<Reg>;
|
||||
|
||||
Reference in New Issue
Block a user