Address review comments: more doc comments and some minor refactorings.

This commit is contained in:
Chris Fallin
2021-08-30 17:15:37 -07:00
parent e10bffbca8
commit 6d313f2b56
11 changed files with 256 additions and 153 deletions

View File

@@ -303,7 +303,7 @@ impl<'a, F: Function> Env<'a, F> {
self.bundles[bundle.index()].spillset = ssidx;
}
for inst in 0..self.func.insts() {
for inst in 0..self.func.num_insts() {
let inst = Inst::new(inst);
// Attempt to merge Reuse-constraint operand outputs with the