|
@@ -3075,9 +3075,6 @@ gb_internal lbValue lb_find_procedure_value_from_entity(lbModule *m, Entity *e)
|
|
}
|
|
}
|
|
|
|
|
|
if (ignore_body) {
|
|
if (ignore_body) {
|
|
- // mutex_lock(&gen->anonymous_proc_lits_mutex);
|
|
|
|
- // defer (mutex_unlock(&gen->anonymous_proc_lits_mutex));
|
|
|
|
-
|
|
|
|
GB_ASSERT(other_module != nullptr);
|
|
GB_ASSERT(other_module != nullptr);
|
|
rw_mutex_shared_lock(&other_module->values_mutex);
|
|
rw_mutex_shared_lock(&other_module->values_mutex);
|
|
auto *found = map_get(&other_module->values, e);
|
|
auto *found = map_get(&other_module->values, e);
|
|
@@ -3163,7 +3160,6 @@ gb_internal lbValue lb_generate_anonymous_proc_lit(lbModule *m, String const &pr
|
|
mpsc_enqueue(&target_module->missing_procedures_to_check, missing_proc_in_target_module);
|
|
mpsc_enqueue(&target_module->missing_procedures_to_check, missing_proc_in_target_module);
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
lbProcedure *p = lb_create_procedure(m, e, true);
|
|
lbProcedure *p = lb_create_procedure(m, e, true);
|
|
|
|
|
|
lbValue value = {};
|
|
lbValue value = {};
|