Remove use of queues for procedure checking.

This commit is contained in:
gingerBill
2023-01-02 12:28:38 +00:00
parent a5ce8a8c0b
commit 015fe924b8
5 changed files with 52 additions and 78 deletions
+1 -5
View File
@@ -418,8 +418,6 @@ struct CheckerContext {
Scope * polymorphic_scope;
Ast *assignment_lhs_hint;
ProcBodyQueue *procs_to_check_queue;
};
@@ -430,9 +428,7 @@ struct Checker {
CheckerContext builtin_ctx;
MPMCQueue<Entity *> procs_with_deferred_to_check;
ProcBodyQueue procs_to_check_queue;
Semaphore procs_to_check_semaphore;
Array<ProcInfo *> procs_to_check;
// TODO(bill): Technically MPSC queue
MPMCQueue<UntypedExprInfo> global_untyped_queue;