rustc_mir_transform::pass_manager

Function run_passes_no_validate

Source
pub(crate) fn run_passes_no_validate<'tcx>(
    tcx: TyCtxt<'tcx>,
    body: &mut Body<'tcx>,
    passes: &[&dyn MirPass<'tcx>],
    phase_change: Option<MirPhase>,
)
Expand description

Run the sequence of passes without validating the MIR after each pass. The MIR is still validated at the end.