diff options
| author | gingerBill <bill@gingerbill.org> | 2023-07-14 11:58:18 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-07-14 11:58:18 +0100 |
| commit | 7cd2d14b6410a17783020cea390f2be9534fa432 (patch) | |
| tree | 27cc6c71036a2c7e9f907a9f99038c7938a7a89b /src/main.cpp | |
| parent | fc5abfd68b3b4fb079fe61d72ad2b10cf24df455 (diff) | |
Very start of working on Tilde Backend for Odin
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index adb955460..398f31b68 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2897,9 +2897,15 @@ int main(int arg_count, char const **arg_ptr) { #if defined(GB_SYSTEM_WINDOWS) if (build_context.tilde_backend) { MAIN_TIME_SECTION("Tilde Code Gen"); - if (!tb_generate_code(checker)) { + if (!cg_generate_code(checker)) { return 1; } + + if (build_context.show_timings) { + show_timings(checker, &global_timings); + } + + return 0; } else #endif { |