Replace mir_map.0 dump with built phase change dump

This commit is contained in:
Jakob Degen 2022-09-04 20:00:31 -07:00
parent 36285c5de8
commit c4c4c566d0
52 changed files with 136 additions and 112 deletions

View file

@ -845,7 +845,7 @@ pub fn build_adt_ctor(tcx: TyCtxt<'_>, ctor_id: DefId) -> Body<'_> {
span,
);
rustc_middle::mir::dump_mir(tcx, None, "mir_map", &0, &body, |_, _| Ok(()));
crate::pass_manager::dump_mir_for_phase_change(tcx, &body);
body
}