Rename CleanupNonCodegenStatements to CleanupPostBorrowck

This commit is contained in:
Tomasz Miąsko 2022-12-17 00:00:00 +00:00
parent 2a8513d221
commit 4c3efc7f1b
3 changed files with 4 additions and 4 deletions

View file

@ -497,7 +497,7 @@ fn run_analysis_cleanup_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
&remove_false_edges::RemoveFalseEdges,
&simplify_branches::SimplifyConstCondition::new("initial"),
&remove_noop_landing_pads::RemoveNoopLandingPads,
&cleanup_post_borrowck::CleanupNonCodegenStatements,
&cleanup_post_borrowck::CleanupPostBorrowck,
&simplify::SimplifyCfg::new("early-opt"),
&deref_separator::Derefer,
];