Use lbValue to represent values everywhere

This commit is contained in:
gingerBill
2020-02-01 23:52:22 +00:00
parent 6ed6a91a64
commit 5f1b397a05
2 changed files with 207 additions and 91 deletions

View File

@@ -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;
}