aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_debug.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-11-08 11:13:46 +0000
committergingerBill <bill@gingerbill.org>2022-11-08 11:13:46 +0000
commit810a1eee41cc8e047759c8934af70d6e68113082 (patch)
treee24c9cd4ae4e63997ae5ffd636b55d923adc2e8e /src/llvm_backend_debug.cpp
parente3e225d21b613d789ebad0273b198b5509800bf0 (diff)
Remove the need for `type->Map.internal_type` and replace with the definition of `runtime.Raw_Map`
Diffstat (limited to 'src/llvm_backend_debug.cpp')
-rw-r--r--src/llvm_backend_debug.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp
index 8a98b7f39..e69424929 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -671,7 +671,8 @@ void lb_debug_complete_types(lbModule *m) {
break;
case Type_Map:
- bt = bt->Map.internal_type;
+ GB_ASSERT(t_raw_map != nullptr);
+ bt = base_type(t_raw_map);
/*fallthrough*/
case Type_Struct:
if (file == nullptr) {