Revert "Auto merge of #84797 - richkadel:cover-unreachable-statements, r=tmandry"
This reverts commite5f83d24ae
, reversing changes made toac888e8675
.
This commit is contained in:
parent
ba8d7e2cb7
commit
bea112ba07
21 changed files with 65 additions and 102 deletions
|
@ -57,7 +57,7 @@ impl<'tcx> MirPass<'tcx> for Inline {
|
|||
if inline(tcx, body) {
|
||||
debug!("running simplify cfg on {:?}", body.source);
|
||||
CfgSimplifier::new(body).simplify();
|
||||
remove_dead_blocks(tcx, body);
|
||||
remove_dead_blocks(body);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue