Fix context system; add more to -show-more-timings for LLVM API; Add ODIN_USE_LLVM_API global constant

This commit is contained in:
gingerBill
2020-03-08 12:34:36 +00:00
parent 8dc74a004c
commit 28502ba53b
6 changed files with 73 additions and 49 deletions

View File

@@ -711,6 +711,7 @@ void init_universal(void) {
add_global_string_constant(str_lit("ODIN_ROOT"), bc->ODIN_ROOT);
add_global_constant(str_lit("ODIN_DEBUG"), t_untyped_bool, exact_value_bool(bc->ODIN_DEBUG));
add_global_constant(str_lit("ODIN_DISABLE_ASSERT"), t_untyped_bool, exact_value_bool(bc->ODIN_DISABLE_ASSERT));
add_global_constant(str_lit("ODIN_USE_LLVM_API"), t_untyped_bool, exact_value_bool(bc->use_llvm_api));
// Builtin Procedures