diff options
| author | gingerBill <bill@gingerbill.org> | 2020-12-05 19:21:00 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-12-05 19:21:00 +0000 |
| commit | 76e6624dbb065c0bba8d5512613cd3083dd79fda (patch) | |
| tree | 2a112a64459d015885ae696bc595d55014afd995 /src | |
| parent | 09a52b7ee662f364ecd0ee00d2379de612d86bc7 (diff) | |
Remove type name generation for procedures in ir.cpp
Diffstat (limited to 'src')
| -rw-r--r-- | src/ir.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 0d9292a50..867557e21 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -7064,6 +7064,9 @@ void ir_gen_global_type_name(irModule *m, Entity *e, String name) { if (!ir_min_dep_entity(m, e)) { return; } + if (is_type_proc(e->type)) { + return; + } irValue *t = ir_value_type_name(name, e->type); ir_module_add_value(m, e, t); string_map_set(&m->members, name, t); |