Address review comments.

This commit is contained in:
Chris Fallin
2021-08-31 17:56:06 -07:00
parent 6389071e09
commit 6f0893d69d
3 changed files with 20 additions and 5 deletions

View File

@@ -817,8 +817,8 @@ impl<'a, F: Function> Env<'a, F> {
to_alloc,
to_vreg.index(),
);
assert!(!from_alloc.is_none());
assert!(!to_alloc.is_none());
assert!(from_alloc.is_some());
assert!(to_alloc.is_some());
assert_eq!(from_inst, to_inst.prev());
// N.B.: these moves happen with the *same* priority as
// LR-to-LR moves, because they work just like them: they