Remove unnecessary Wait_Signal checks

This commit is contained in:
gingerBill
2024-06-07 00:11:00 +01:00
parent 1d99bc0f87
commit 68781f8dd3
3 changed files with 0 additions and 20 deletions

View File

@@ -2139,18 +2139,6 @@ gb_internal bool is_type_polymorphic_record_unspecialized(Type *t) {
return false;
}
gb_internal void wait_for_record_polymorphic_params(Type *t) {
t = base_type(t);
switch (t->kind) {
case Type_Struct:
wait_signal_until_available(&t->Struct.polymorphic_wait_signal);
break;
case Type_Union:
wait_signal_until_available(&t->Union.polymorphic_wait_signal);
break;
}
}
gb_internal TypeTuple *get_record_polymorphic_params(Type *t) {
t = base_type(t);