From 5c64edfd50b334022f0a0ca5414287a9dd8aa3c2 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Wed, 28 Dec 2016 16:24:20 +1100 Subject: MIR Gen - Handle diverging calls fully --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 87bb3f3e..5acb8545 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -392,9 +392,9 @@ int main(int argc, char *argv[]) }); // Validate the MIR - //CompilePhaseV("MIR Validate", [&]() { - // MIR_CheckCrate(*hir_crate); - // }); + CompilePhaseV("MIR Validate", [&]() { + MIR_CheckCrate(*hir_crate); + }); // Second shot of constant evaluation (with full type information) CompilePhaseV("Constant Evaluate Full", [&]() { -- cgit v1.2.3