aboutsummaryrefslogtreecommitdiff
path: root/src/tilde_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-07-24 12:53:16 +0100
committergingerBill <bill@gingerbill.org>2023-07-24 12:53:16 +0100
commitd8445fd9dfe5bcf9b694c2b83791c88cafcdf322 (patch)
treeee07d1f49c844ec3c3527b9fd95a689fbaa25003 /src/tilde_stmt.cpp
parent304db907f52f2c80c806f3aa0eb1bb722093f000 (diff)
Multithread tilde backend
Diffstat (limited to 'src/tilde_stmt.cpp')
-rw-r--r--src/tilde_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tilde_stmt.cpp b/src/tilde_stmt.cpp
index b25be089d..6cef37ad4 100644
--- a/src/tilde_stmt.cpp
+++ b/src/tilde_stmt.cpp
@@ -2036,9 +2036,9 @@ gb_internal void cg_build_constant_value_decl(cgProcedure *p, AstValueDecl *vd)
cgValue value = p->value;
- array_add(&p->module->procedures_to_generate, nested_proc);
array_add(&p->children, nested_proc);
string_map_set(&p->module->members, name, value);
+ cg_add_procedure_to_queue(nested_proc);
}
}
}