We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af35b8 commit 2c9cd17Copy full SHA for 2c9cd17
compiler/rustc_mir_transform/src/pass_manager.rs
@@ -74,6 +74,7 @@ where
74
75
/// Run the sequence of passes without validating the MIR after each pass. The MIR is still
76
/// validated at the end.
77
+#[inline(always)]
78
pub fn run_passes_no_validate<'tcx>(
79
tcx: TyCtxt<'tcx>,
80
body: &mut Body<'tcx>,
@@ -82,6 +83,7 @@ pub fn run_passes_no_validate<'tcx>(
82
83
run_passes_inner(tcx, body, passes, false);
84
}
85
86
87
pub fn run_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>, passes: &[&dyn MirPass<'tcx>]) {
88
run_passes_inner(tcx, body, passes, true);
89
0 commit comments