Comment out type_and_value_mutex usage

This commit is contained in:
gingerBill
2023-01-02 21:37:21 +00:00
parent 7ffffeeccc
commit 318d92f9a8
+2 -2
View File
@@ -1451,7 +1451,7 @@ gb_internal void add_type_and_value(CheckerInfo *i, Ast *expr, AddressingMode mo
return;
}
mutex_lock(&i->type_and_value_mutex);
// mutex_lock(&i->type_and_value_mutex);
Ast *prev_expr = nullptr;
while (prev_expr != expr) {
prev_expr = expr;
@@ -1473,7 +1473,7 @@ gb_internal void add_type_and_value(CheckerInfo *i, Ast *expr, AddressingMode mo
expr = unparen_expr(expr);
}
mutex_unlock(&i->type_and_value_mutex);
// mutex_unlock(&i->type_and_value_mutex);
}
gb_internal void add_entity_definition(CheckerInfo *i, Ast *identifier, Entity *entity) {