From 5628dbb9c1ed497a2421481c39ef53f616328b25 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 9 Oct 2016 18:55:55 +0800 Subject: main - (minor) Commenting --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 2bce1759..3a5d4247 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -85,7 +85,6 @@ void init_debug_list() } bool debug_enabled() { - // TODO: Have an explicit enable list? if( g_debug_disable_map.count(g_cur_phase) != 0 ) { return false; } @@ -323,6 +322,7 @@ int main(int argc, char *argv[]) } // Optimise the MIR + // TODO: MIR Optimisation //CompilePhaseV("Dump MIR", [&]() { // ::std::ofstream os (FMT(params.outfile << "_4_mir_opt.rs")); @@ -347,7 +347,7 @@ int main(int argc, char *argv[]) HIR_Serialise(params.outfile, *hir_crate); }); // Generate a .o - //HIR_Codegen(params.outfile + ".o", *hir_crate); + //HIR_Codegen_Lib(params.outfile + ".o", *hir_crate); // Link into a .rlib break; case ::AST::Crate::Type::RustDylib: @@ -359,6 +359,7 @@ int main(int argc, char *argv[]) break; case ::AST::Crate::Type::Executable: // Generate a binary + //HIR_Codegen_Main(params.outfile + ".o", *hir_crate); break; } } -- cgit v1.2.3