Minor code reorganization

This commit is contained in:
gingerBill
2018-02-25 14:23:45 +00:00
parent 5357181484
commit 60a7c68aa6
3 changed files with 7 additions and 9 deletions

View File

@@ -713,6 +713,7 @@ int main(int arg_count, char **arg_ptr) {
return 0;
}
timings_start_section(&timings, str_lit("type check"));
Checker checker = {0};
@@ -728,6 +729,8 @@ int main(int arg_count, char **arg_ptr) {
}
// defer (ir_gen_destroy(&ir_gen));
timings_start_section(&timings, str_lit("llvm ir gen"));
ir_gen_tree(&ir_gen);