Move walking of dependencies for procedures to just before calculating the min dep set

This commit is contained in:
gingerBill
2023-01-04 13:52:38 +00:00
parent d06a0e7093
commit d4e18109da
4 changed files with 71 additions and 44 deletions
+5
View File
@@ -159,6 +159,11 @@ char const *ProcCheckedState_strings[ProcCheckedState_COUNT] {
// DeclInfo is used to store information of certain declarations to allow for "any order" usage
struct DeclInfo {
DeclInfo * parent; // NOTE(bill): only used for procedure literals at the moment
BlockingMutex next_mutex;
DeclInfo * next_child;
DeclInfo * next_sibling;
Scope * scope;
Entity *entity;