From 50aeea1c2e11ed1413ca29bf5993b80dff38fa62 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Wed, 7 Sep 2016 21:59:03 +0100 Subject: Remove AstNode linked lists and replace with arrays --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 6099e10f7..06cfc73f2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,7 +41,7 @@ i32 win32_exec_command_line_app(char *fmt, ...) { } -#if 0 +#if 1 #define INIT_TIMER() u64 start_time, end_time = 0, total_time = 0; start_time = gb_utc_time_now() #define PRINT_TIMER(section) do { \ u64 diff; \ @@ -92,6 +92,7 @@ int main(int argc, char **argv) { // print_ast(parser.files[0].decls, 0); +#if 1 Checker checker = {}; init_checker(&checker, &parser); @@ -101,7 +102,7 @@ int main(int argc, char **argv) { PRINT_TIMER("Semantic Checker"); - +#endif #if 1 ssaGen ssa = {}; if (!ssa_gen_init(&ssa, &checker)) -- cgit v1.2.3