Properly handle prog-moves with fixed srcs or dests

This commit is contained in:
Chris Fallin
2021-05-09 13:35:38 -07:00
parent 5c5ea4cb9b
commit 4f26b1c78f
3 changed files with 37 additions and 43 deletions

View File

@@ -130,7 +130,7 @@ impl Function for Func {
&self.reftype_vregs[..]
}
fn is_move(&self, _: Inst) -> Option<(VReg, VReg)> {
fn is_move(&self, _: Inst) -> Option<(Operand, Operand)> {
None
}