mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 20:28:15 +00:00
Fix Procedure value printing in ir.cpp
This commit is contained in:
+1
-2
@@ -1287,8 +1287,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type *
|
|||||||
if (expr->kind == Ast_ProcLit) {
|
if (expr->kind == Ast_ProcLit) {
|
||||||
found = map_get(&m->anonymous_proc_lits, hash_pointer(expr));
|
found = map_get(&m->anonymous_proc_lits, hash_pointer(expr));
|
||||||
} else {
|
} else {
|
||||||
GB_ASSERT(expr->kind == Ast_Ident);
|
Entity *e = strip_entity_wrapping(expr);
|
||||||
Entity *e = entity_of_ident(expr);
|
|
||||||
GB_ASSERT(e != nullptr);
|
GB_ASSERT(e != nullptr);
|
||||||
found = map_get(&m->values, hash_entity(e));
|
found = map_get(&m->values, hash_entity(e));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user