|
2 | 2 | #![feature(box_patterns)] |
3 | 3 | #![feature(const_type_name)] |
4 | 4 | #![feature(cow_is_borrowed)] |
5 | | -#![feature(file_buffered)] |
6 | 5 | #![feature(impl_trait_in_assoc_type)] |
7 | 6 | #![feature(iterator_try_collect)] |
8 | 7 | #![feature(try_blocks)] |
@@ -91,8 +90,6 @@ macro_rules! declare_passes { |
91 | 90 |
|
92 | 91 | static PASS_NAMES: LazyLock<FxIndexSet<&str>> = LazyLock::new(|| { |
93 | 92 | let mut set = FxIndexSet::default(); |
94 | | - // Fake marker pass |
95 | | - set.insert("PreCodegen"); |
96 | 93 | $( |
97 | 94 | $( |
98 | 95 | set.extend(pass_names!($mod_name : $pass_name $( { $($ident),* } )? )); |
@@ -145,7 +142,6 @@ declare_passes! { |
145 | 142 | }; |
146 | 143 | mod deref_separator : Derefer; |
147 | 144 | mod dest_prop : DestinationPropagation; |
148 | | - pub mod dump_mir : Marker; |
149 | 145 | mod early_otherwise_branch : EarlyOtherwiseBranch; |
150 | 146 | mod erase_deref_temps : EraseDerefTemps; |
151 | 147 | mod elaborate_box_derefs : ElaborateBoxDerefs; |
@@ -771,8 +767,6 @@ pub(crate) fn run_optimization_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<' |
771 | 767 | // Cleanup for human readability, off by default. |
772 | 768 | &prettify::ReorderBasicBlocks, |
773 | 769 | &prettify::ReorderLocals, |
774 | | - // Dump the end result for testing and debugging purposes. |
775 | | - &dump_mir::Marker("PreCodegen"), |
776 | 770 | ], |
777 | 771 | Some(MirPhase::Runtime(RuntimePhase::Optimized)), |
778 | 772 | optimizations, |
|
0 commit comments