diff --git a/src/checker.cpp b/src/checker.cpp index ef4b44104..4a4e2251c 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -865,7 +865,6 @@ void init_checker_info(CheckerInfo *i) { gb_mutex_init(&i->lazy_mutex); mutex_init(&i->type_info_mutex); - mutex_init(&i->scope_mutex); mutex_init(&i->deps_mutex); mutex_init(&i->identifier_uses_mutex); mutex_init(&i->foreign_mutex); @@ -897,7 +896,6 @@ void destroy_checker_info(CheckerInfo *i) { gb_mutex_destroy(&i->gen_types_mutex); gb_mutex_destroy(&i->lazy_mutex); mutex_destroy(&i->type_info_mutex); - mutex_destroy(&i->scope_mutex); mutex_destroy(&i->deps_mutex); mutex_destroy(&i->identifier_uses_mutex); mutex_destroy(&i->foreign_mutex); diff --git a/src/checker.hpp b/src/checker.hpp index 773039f44..122407732 100644 --- a/src/checker.hpp +++ b/src/checker.hpp @@ -293,8 +293,6 @@ struct CheckerInfo { // NOTE(bill): If the semantic checker (check_proc_body) is to ever to be multithreaded, // these variables will be of contention - BlockingMutex scope_mutex; - // NOT recursive & Only used at the end of `check_proc_body` // This is a possible source of contention but probably not // too much of a problem in practice