mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Add missing gen
This commit is contained in:
@@ -221,6 +221,7 @@ gb_internal bool lb_init_generator(lbGenerator *gen, Checker *c) {
|
|||||||
if (LLVM_WEAK_MONOMORPHIZATION) {
|
if (LLVM_WEAK_MONOMORPHIZATION) {
|
||||||
lbModule *m = gb_alloc_item(permanent_allocator(), lbModule);
|
lbModule *m = gb_alloc_item(permanent_allocator(), lbModule);
|
||||||
gen->equal_module = m;
|
gen->equal_module = m;
|
||||||
|
m->gen = gen;
|
||||||
m->checker = c;
|
m->checker = c;
|
||||||
map_set(&gen->modules, cast(void *)m, m); // point to itself just add it to the list
|
map_set(&gen->modules, cast(void *)m, m); // point to itself just add it to the list
|
||||||
lb_init_module(m, do_threading);
|
lb_init_module(m, do_threading);
|
||||||
|
|||||||
Reference in New Issue
Block a user