mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-23 19:36:42 +00:00
Remove type name generation for procedures in ir.cpp
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user