Remove dead mutex

This commit is contained in:
gingerBill
2021-07-27 21:14:06 +01:00
parent 44aa69748c
commit e17593be94
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -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);
-2
View File
@@ -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