aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_general.cpp
diff options
context:
space:
mode:
authorFrancisTheCat <90558133+FrancisTheCat@users.noreply.github.com>2024-06-14 16:34:21 +0200
committerGitHub <noreply@github.com>2024-06-14 16:34:21 +0200
commitcd5fa8523f79ce981e5047dad5b66155f493d169 (patch)
tree1a8acb79d3bf1b5fca3f0c6ac20bece15a2cbfd2 /src/llvm_backend_general.cpp
parentec7b77fc0f6ed20eecf25039c6acbe2050cef877 (diff)
parentff4787070d9673a417f549f1b9452e675c96f992 (diff)
Merge branch 'odin-lang:master' into master
Diffstat (limited to 'src/llvm_backend_general.cpp')
-rw-r--r--src/llvm_backend_general.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/llvm_backend_general.cpp b/src/llvm_backend_general.cpp
index ea98fc60a..03d0f8b32 100644
--- a/src/llvm_backend_general.cpp
+++ b/src/llvm_backend_general.cpp
@@ -78,7 +78,8 @@ gb_internal void lb_init_module(lbModule *m, Checker *c) {
array_init(&m->procedures_to_generate, a, 0, c->info.all_procedures.count);
map_init(&m->procedure_values, c->info.all_procedures.count*2);
}
- array_init(&m->global_procedures_and_types_to_create, a, 0, 1024);
+ array_init(&m->global_procedures_to_create, a, 0, 1024);
+ array_init(&m->global_types_to_create, a, 0, 1024);
array_init(&m->missing_procedures_to_check, a, 0, 16);
map_init(&m->debug_values);