mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-20 08:26:47 +00:00
Remove unneeded mutex
This commit is contained in:
@@ -57,9 +57,8 @@ gb_internal void lb_build_constant_value_decl(lbProcedure *p, AstValueDecl *vd)
|
||||
if (pl->body != nullptr) {
|
||||
auto *found = map_get(&info->gen_procs, ident);
|
||||
if (found) {
|
||||
auto procs = *found;
|
||||
for_array(i, procs) {
|
||||
Entity *e = procs[i];
|
||||
MUTEX_GUARD(&found->mutex);
|
||||
for (Entity *e : found->procs) {
|
||||
if (!ptr_set_exists(min_dep_set, e)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user