aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_debug.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-03-01 14:00:14 +0000
committergingerBill <bill@gingerbill.org>2024-03-01 14:00:14 +0000
commitff24cfe314b0dc121a5ab6d600ae06c31a29b3d3 (patch)
tree9bf9b4c44a6e80afd1fe8a9df1badc96d19d3df3 /src/llvm_backend_debug.cpp
parentbc191d4f8462f5a9be7d289fc0aae5a2d2f97629 (diff)
Fix debug issue with `map`s
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 7d3692a53..c06026568 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -746,8 +746,8 @@ gb_internal void lb_debug_complete_types(lbModule *m) {
case Type_Map:
GB_ASSERT(t_raw_map != nullptr);
- bt = base_type(bt->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: