diff options
| author | gingerBill <bill@gingerbill.org> | 2024-02-13 17:06:04 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-02-13 17:06:04 +0000 |
| commit | 912c326d8b05dba282a9a58e2405b09f774dbe34 (patch) | |
| tree | d6c09f42b7a338164d1ba3fc8b5cd993f3f4b4d6 /src/llvm_backend_debug.cpp | |
| parent | d496dbf3a0ee05819ab6e802939b4219cfa9c7fe (diff) | |
Fix typo that causes map info debug issues
Diffstat (limited to 'src/llvm_backend_debug.cpp')
| -rw-r--r-- | src/llvm_backend_debug.cpp | 4 |
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: |