Convert procedures_to_generate to a queue

This commit is contained in:
gingerBill
2025-09-19 14:15:25 +01:00
parent ee3b10335b
commit 6bca1475ed
5 changed files with 54 additions and 29 deletions

View File

@@ -835,7 +835,7 @@ gb_internal void lb_build_nested_proc(lbProcedure *p, AstProcLit *pd, Entity *e)
lb_add_entity(m, e, value);
array_add(&p->children, nested_proc);
array_add(&m->procedures_to_generate, nested_proc);
mpsc_enqueue(&m->procedures_to_generate, nested_proc);
}