mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-25 13:18:14 +00:00
Entity * to std::atomic<Entity *> to remove the need for a PtrMap+Mutex
This commit is contained in:
@@ -2055,8 +2055,8 @@ gb_internal void add_entity_and_decl_info(CheckerContext *c, Ast *identifier, En
|
||||
add_entity_definition(info, identifier, e);
|
||||
GB_ASSERT(e->decl_info == nullptr);
|
||||
e->decl_info = d;
|
||||
d->entity = e;
|
||||
e->pkg = c->pkg;
|
||||
d->entity.store(e);
|
||||
|
||||
isize queue_count = -1;
|
||||
bool is_lazy = false;
|
||||
|
||||
Reference in New Issue
Block a user