Add mutex for @(builtin) attributes

This commit is contained in:
gingerBill
2021-07-28 00:27:16 +01:00
parent 358226468d
commit 541c79c01a
2 changed files with 21 additions and 14 deletions
+1
View File
@@ -297,6 +297,7 @@ struct CheckerInfo {
UntypedExprInfoMap global_untyped; // NOTE(bill): This needs to be a map and not on the Ast
// as it needs to be iterated across afterwards
BlockingMutex global_untyped_mutex;
BlockingMutex builtin_mutex;
// NOT recursive & Only used at the end of `check_proc_body`
// This is a possible source of contention but probably not