1
Fork 0

Revert "Auto merge of #84797 - richkadel:cover-unreachable-statements, r=tmandry"

This reverts commit e5f83d24ae, reversing
changes made to ac888e8675.
This commit is contained in:
Rich Kadel 2021-05-11 12:47:08 -07:00
parent ba8d7e2cb7
commit bea112ba07
21 changed files with 65 additions and 102 deletions

View file

@ -47,7 +47,7 @@ impl<'tcx> MirPass<'tcx> for ConstGoto {
// if we applied optimizations, we potentially have some cfg to cleanup to
// make it easier for further passes
if should_simplify {
simplify_cfg(tcx, body);
simplify_cfg(body);
simplify_locals(body, tcx);
}
}