aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-09-07 21:59:03 +0100
committerGinger Bill <bill@gingerbill.org>2016-09-07 21:59:03 +0100
commit50aeea1c2e11ed1413ca29bf5993b80dff38fa62 (patch)
treede70baca88806155386dd82299ebbdb469508d04 /src/main.cpp
parent7ba13a18a33d8f852eb41b58da662ddb4649d04f (diff)
Remove AstNode linked lists and replace with arrays
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
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))