BasicBlock::new(0) -> START_BLOCK [no functional changes]

This commit is contained in:
Scott McMurray 2023-02-16 18:46:25 -08:00
parent 5348a89a77
commit c946494c34
6 changed files with 12 additions and 12 deletions

View file

@ -896,7 +896,7 @@ impl<'a, 'tcx> Promoter<'a, 'tcx> {
assert_eq!(self.new_block(), START_BLOCK);
self.visit_rvalue(
&mut rvalue,
Location { block: BasicBlock::new(0), statement_index: usize::MAX },
Location { block: START_BLOCK, statement_index: usize::MAX },
);
let span = self.promoted.span;