diff options
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 8a67cb6e2..2c341ad57 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -427,8 +427,8 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t) { case Type_Map: { generate_map_internal_types(m->allocator, t); - GB_ASSERT(t->Map.generated_struct_type != nullptr); - ir_print_type(f, m, t->Map.generated_struct_type); + GB_ASSERT(t->Map.internal_type != nullptr); + ir_print_type(f, m, t->Map.internal_type); break; } |