aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_debug.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-04-18 11:28:46 +0100
committergingerBill <bill@gingerbill.org>2024-04-18 11:28:46 +0100
commitf84a09297795bd5c6d00305e0ad32dd696fe36a7 (patch)
tree3209d3759e6bf857ea4988bf6fcd0e8bafd50b77 /src/llvm_backend_debug.cpp
parentaad41fc76210814f4bf708927a10d17de0e2621d (diff)
Fix typo.
Diffstat (limited to 'src/llvm_backend_debug.cpp')
-rw-r--r--src/llvm_backend_debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp
index b430cf894..853941496 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -739,7 +739,7 @@ gb_internal LLVMMetadataRef lb_debug_type_internal(lbModule *m, Type *type) {
}
case Type_Map: {
- init_map_internal_debug_types(bt);
+ init_map_internal_debug_types(type);
Type *bt = base_type(type->Map.debug_metadata_type);
GB_ASSERT(bt->kind == Type_Struct);