diff options
author | John Hodge <tpg@mutabah.net> | 2016-12-28 16:24:20 +1100 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-12-28 16:24:20 +1100 |
commit | 5c64edfd50b334022f0a0ca5414287a9dd8aa3c2 (patch) | |
tree | 711b9841ce04b3b76559c54b598c299818384f0e /src/main.cpp | |
parent | f057e423c91a7ab821b68e7ec04f3280c24a1ffc (diff) | |
download | mrust-5c64edfd50b334022f0a0ca5414287a9dd8aa3c2.tar.gz |
MIR Gen - Handle diverging calls fully
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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", [&]() { |