Merge dead bb pruning and unreachable bb deduplication.
This commit is contained in:
@@ -51,7 +51,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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user