aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_debug.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-02-13 17:06:04 +0000
committergingerBill <bill@gingerbill.org>2024-02-13 17:06:04 +0000
commit912c326d8b05dba282a9a58e2405b09f774dbe34 (patch)
treed6c09f42b7a338164d1ba3fc8b5cd993f3f4b4d6 /src/llvm_backend_debug.cpp
parentd496dbf3a0ee05819ab6e802939b4219cfa9c7fe (diff)
Fix typo that causes map info debug issues
Diffstat (limited to 'src/llvm_backend_debug.cpp')
-rw-r--r--src/llvm_backend_debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp
index 6bcbac13f..f45cf0cbc 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -710,8 +710,8 @@ gb_internal void lb_debug_complete_types(lbModule *m) {
case Type_Map:
GB_ASSERT(t_raw_map != nullptr);
- // bt = base_type(t->Map.debug_metadata_type);
- bt = base_type(t_raw_map);
+ bt = base_type(bt->Map.debug_metadata_type);
+ // bt = base_type(t_raw_map);
GB_ASSERT(bt->kind == Type_Struct);
/*fallthrough*/
case Type_Struct: