aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-12-17 19:25:35 +0000
committergingerBill <bill@gingerbill.org>2017-12-17 19:25:35 +0000
commita69ea58388d498a227094f2cb2f0083c620c9ac7 (patch)
tree31e50ae17aeabe7f592989d16937eb9bd5205cef /src/ir_print.cpp
parent30530d058ca22eea3dcb0401a6bd6d288deb3ce0 (diff)
`map` is internally backed by a pointer (i.e. a "reference type")
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp4
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;
}