mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-07 21:34:14 -04:00
Remove unneeded local_entity_map
This commit is contained in:
1 parent
529383f5b1
commit
fa562ec5d6
5 files changed
+1
-14
No files matched your search
@@ -3404,11 +3404,7 @@ gb_internal lbAddr lb_build_addr_from_entity(lbProcedure *p, Entity *e, Ast *exp
|
||||
|
||||
|
||||
lbValue v = {};
|
||||
lbValue *found = nullptr;
|
||||
found = map_get(&p->local_entity_map, e);
|
||||
if (found == nullptr) {
|
||||
found = map_get(&p->module->values, e);
|
||||
}
|
||||
lbValue *found = map_get(&p->module->values, e);
|
||||
if (found) {
|
||||
v = *found;
|
||||
} else if (e->kind == Entity_Variable && e->flags & EntityFlag_Using) {
|
||||
|
||||
Reference in new issue
Block a user