diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-12 17:13:25 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-12 17:13:25 +0000 |
| commit | 3b22c6620cea89394ad7a2b80da5f2529a4fae20 (patch) | |
| tree | 04cc993bb811e0bc5d412dbb14a710bec56bc9d5 /src/llvm_backend_debug.cpp | |
| parent | 402a165b60dc9de1ef047b44e47c2d38e5cbed6d (diff) | |
Begin to generalize modules away from `AstPackage *` in `-use-separate-modules`
Diffstat (limited to 'src/llvm_backend_debug.cpp')
| -rw-r--r-- | src/llvm_backend_debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp index 9bf4063d6..83f6da04e 100644 --- a/src/llvm_backend_debug.cpp +++ b/src/llvm_backend_debug.cpp @@ -1177,7 +1177,7 @@ gb_internal void add_debug_info_for_global_constant_from_entity(lbGenerator *gen } lbModule *m = &gen->default_module; if (USE_SEPARATE_MODULES) { - m = lb_pkg_module(gen, e->pkg); + m = lb_module_of_entity(gen, e); } if (is_type_integer(e->type)) { |