summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3573f138..8ab3a241 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -423,14 +423,14 @@ int main(int argc, char *argv[])
CompilePhaseV("MIR Optimise", [&]() {
MIR_OptimiseCrate(*hir_crate);
});
- CompilePhaseV("MIR Validate PO", [&]() {
- MIR_CheckCrate(*hir_crate);
- });
CompilePhaseV("Dump MIR", [&]() {
::std::ofstream os (FMT(params.outfile << "_3_mir.rs"));
MIR_Dump( os, *hir_crate );
});
+ CompilePhaseV("MIR Validate PO", [&]() {
+ MIR_CheckCrate(*hir_crate);
+ });
if( params.last_stage == ProgramParams::STAGE_MIR ) {
return 0;