From 97521b8df5635c62f1e09b7fa20aa9fd78ee4eee Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 9 Aug 2016 23:52:28 +0800 Subject: main+MIR - Enable MIR generation --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 2316358d..d13ec346 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,6 +19,7 @@ #include "hir_conv/main_bindings.hpp" #include "hir_typeck/main_bindings.hpp" #include "hir_expand/main_bindings.hpp" +#include "mir/main_bindings.hpp" #include "expand/cfg.hpp" @@ -201,7 +202,7 @@ int main(int argc, char *argv[]) // Expand closures into items // Lower expressions into MIR CompilePhaseV("Lower MIR", [&]() { - //ConvertHIR_MIR(hir_crate); + HIR_GenerateMIR(*hir_crate); }); // Flatten modules into "mangled" set -- cgit v1.2.3