aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-06-03 10:51:43 +0100
committergingerBill <bill@gingerbill.org>2018-06-03 10:51:43 +0100
commit398109ac841cb8c405b54da529837800ed8cddd1 (patch)
treecc19289df5a606674e61ee0d22385aa4174ff92c /src/checker.cpp
parent12b870ba6671854a3de8605f8dd8f36d1de90c6a (diff)
Remove need for __llvm_core
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 2471bcf54..a2a677340 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -575,14 +575,11 @@ void init_universal_scope(void) {
add_global_constant(str_lit("false"), t_untyped_bool, exact_value_bool(false));
add_global_entity(alloc_entity_nil(str_lit("nil"), t_untyped_nil));
- add_global_entity(alloc_entity_library_name(universal_scope,
- make_token_ident(str_lit("__llvm_core")), t_invalid,
- str_lit(""), str_lit("__llvm_core")));
+ // add_global_entity(alloc_entity_library_name(universal_scope,
+ // make_token_ident(str_lit("__llvm_core")), t_invalid,
+ // str_lit(""), str_lit("__llvm_core")));
// TODO(bill): Set through flags in the compiler
- // add_global_string_constant(str_lit("ODIN_OS"), bc->ODIN_OS);
- // add_global_string_constant(str_lit("ODIN_ARCH"), bc->ODIN_ARCH);
- // add_global_string_constant(str_lit("ODIN_ENDIAN"), bc->ODIN_ENDIAN);
add_global_string_constant(str_lit("ODIN_VENDOR"), bc->ODIN_VENDOR);
add_global_string_constant(str_lit("ODIN_VERSION"), bc->ODIN_VERSION);
add_global_string_constant(str_lit("ODIN_ROOT"), bc->ODIN_ROOT);