diff options
| author | gingerBill <bill@gingerbill.org> | 2020-11-09 10:36:09 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-11-09 10:36:09 +0000 |
| commit | 7909a9f5a599af020cfb151f99fe740d62517def (patch) | |
| tree | 937e18c338a75c380d30f9e436ceeba352016465 /src | |
| parent | c26cb470a22e1985bbb7ec878a402ad8f78ef75e (diff) | |
Remove debug code causing bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_type.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 62b5fd8e1..2b9bcdb33 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2473,10 +2473,6 @@ void set_procedure_abi_types(gbAllocator allocator, Type *type) { Entity *e = type->Proc.params->Tuple.variables[i]; if (e->kind == Entity_Variable) { Type *original_type = e->type; - if (is_type_named(original_type) && is_type_proc(original_type)) { - continue; - } - Type *new_type = type_to_abi_compat_param_type(allocator, original_type, type->Proc.calling_convention); type->Proc.abi_compat_params[i] = new_type; switch (type->Proc.calling_convention) { |