Function rustc_mir_transform::pass_manager::run_passes
source · pub fn run_passes<'tcx>(
tcx: TyCtxt<'tcx>,
body: &mut Body<'tcx>,
passes: &[&dyn MirPass<'tcx>],
phase_change: Option<MirPhase>
)
Expand description
The optional phase_change
is applied after executing all the passes, if present