diff options
| author | gingerBill <bill@gingerbill.org> | 2020-03-08 12:34:36 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-03-08 12:34:36 +0000 |
| commit | 28502ba53b32a0e5eb9aa7d8c41424fa090ff7ef (patch) | |
| tree | 67938cb3b921e15179b65f437846de953cb2cdc8 /src/checker.cpp | |
| parent | 8dc74a004c7dcac3ed0d1fd0b218e7f8dd79efa6 (diff) | |
Fix `context` system; add more to -show-more-timings for LLVM API; Add `ODIN_USE_LLVM_API` global constant
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 23e27af87..0494bde4b 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -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 |