diff options
| author | gingerBill <bill@gingerbill.org> | 2020-02-01 23:52:22 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-02-01 23:52:22 +0000 |
| commit | 5f1b397a055be3cc58789281abdb7a390e2b18d5 (patch) | |
| tree | 20d477e3f4e5311b937901d0950f0397589dfa3e /src/main.cpp | |
| parent | 6ed6a91a6434a944010d8f2c6752e70a372b5296 (diff) | |
Use `lbValue` to represent values everywhere
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 95bc52d63..bed1935ec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1275,11 +1275,16 @@ int main(int arg_count, char const **arg_ptr) { } if (build_context.use_llvm_api) { + timings_start_section(timings, str_lit("LLVM API Code Gen")); lbGenerator gen = {}; if (!lb_init_generator(&gen, &checker)) { return 1; } lb_generate_module(&gen); + + if (build_context.show_timings) { + show_timings(&checker, timings); + } return 0; } |