diff options
| author | gingerBill <bill@gingerbill.org> | 2024-06-07 00:11:00 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-06-07 00:11:00 +0100 |
| commit | 68781f8dd365692aee55099d3e14cb83a115764c (patch) | |
| tree | e3348f8da2f980933a35a04c11e125e57e100aa8 /src/types.cpp | |
| parent | 1d99bc0f8715fa03993226a378e583db0d34a49c (diff) | |
Remove unnecessary Wait_Signal checks
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/types.cpp b/src/types.cpp index 4ceba5244..97e8267a3 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -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); |