aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-18 15:04:16 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-18 15:04:16 +0100
commit738a72943bdb9d0998b11d38efb5300cd02d8190 (patch)
tree530e2f050c95fec25e16aa688a46d33375c0b797 /src/llvm_backend.cpp
parent5b0510a6bd6e3d129258b9c9913114f744f57a15 (diff)
Try moving parapoly procs into a separate module when doing weak monomorphization
Diffstat (limited to 'src/llvm_backend.cpp')
-rw-r--r--src/llvm_backend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp
index 11b979774..2bc18872e 100644
--- a/src/llvm_backend.cpp
+++ b/src/llvm_backend.cpp
@@ -2145,7 +2145,7 @@ gb_internal void lb_create_global_procedures_and_types(lbGenerator *gen, Checker
lbModule *m = &gen->default_module;
if (USE_SEPARATE_MODULES) {
- m = lb_module_of_entity(gen, e);
+ m = lb_module_of_entity(gen, e, m);
}
GB_ASSERT(m != nullptr);