aboutsummaryrefslogtreecommitdiff
path: root/src/checker.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-04 13:52:38 +0000
committergingerBill <bill@gingerbill.org>2023-01-04 13:52:38 +0000
commitd4e18109da5fa051d689be84a6ecf1e77348c74e (patch)
treed2c359f5ddb40b8d82d913d7763a4944e4587a01 /src/checker.hpp
parentd06a0e7093c3f06a474a040385f1b9dfdfce29ad (diff)
Move walking of dependencies for procedures to just before calculating the min dep set
Diffstat (limited to 'src/checker.hpp')
-rw-r--r--src/checker.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/checker.hpp b/src/checker.hpp
index bb870e077..821d43922 100644
--- a/src/checker.hpp
+++ b/src/checker.hpp
@@ -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;