diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-09 23:52:28 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-09 23:52:28 +0800 |
commit | 97521b8df5635c62f1e09b7fa20aa9fd78ee4eee (patch) | |
tree | df640d6dcd982550c61b09af63c813f672f6abe6 /src/main.cpp | |
parent | 12f999b58b452223b9cf58bc85be3d83bb661e7c (diff) | |
download | mrust-97521b8df5635c62f1e09b7fa20aa9fd78ee4eee.tar.gz |
main+MIR - Enable MIR generation
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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
|