mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-16 10:52:22 -07:00
Move atomic intrinsics to the new built-in package intrinsics
This commit is contained in:
+2
-2
@@ -2096,7 +2096,7 @@ void init_map_entry_type(Type *type) {
|
||||
}
|
||||
*/
|
||||
Ast *dummy_node = alloc_ast_node(nullptr, Ast_Invalid);
|
||||
Scope *s = create_scope(builtin_scope, a);
|
||||
Scope *s = create_scope(builtin_pkg->scope, a);
|
||||
|
||||
auto fields = array_make<Entity *>(a, 0, 3);
|
||||
array_add(&fields, alloc_entity_field(s, make_token_ident(str_lit("key")), t_map_key, false, 0, EntityState_Resolved));
|
||||
@@ -2131,7 +2131,7 @@ void init_map_internal_types(Type *type) {
|
||||
*/
|
||||
gbAllocator a = heap_allocator();
|
||||
Ast *dummy_node = alloc_ast_node(nullptr, Ast_Invalid);
|
||||
Scope *s = create_scope(builtin_scope, a);
|
||||
Scope *s = create_scope(builtin_pkg->scope, a);
|
||||
|
||||
Type *hashes_type = alloc_type_slice(t_int);
|
||||
Type *entries_type = alloc_type_dynamic_array(type->Map.entry_type);
|
||||
|
||||
Reference in New Issue
Block a user