Update to the rustfmt in rust 1.31, which is now stable.

This commit is contained in:
Dan Gohman
2018-12-06 16:15:48 -05:00
parent 323a9925e5
commit 5adab629f2
43 changed files with 181 additions and 177 deletions

View File

@@ -514,10 +514,12 @@ impl<'a> FunctionBuilder<'a> {
None => false,
Some(entry) => self.position.ebb.unwrap() == entry,
};
!is_entry && self.func_ctx.ssa.is_sealed(self.position.ebb.unwrap()) && !self
.func_ctx
.ssa
.has_any_predecessors(self.position.ebb.unwrap())
!is_entry
&& self.func_ctx.ssa.is_sealed(self.position.ebb.unwrap())
&& !self
.func_ctx
.ssa
.has_any_predecessors(self.position.ebb.unwrap())
}
/// Returns `true` if and only if no instructions have been added since the last call to
@@ -769,7 +771,8 @@ impl<'a> FunctionBuilder<'a> {
self.ins().load(config.pointer_type(), flags, src, offset),
offset,
)
}).collect();
})
.collect();
for (value, offset) in registers {
self.ins().store(flags, value, dest, offset);