Commit 77850949 authored by Matthias Braun's avatar Matthias Braun
Browse files

irio: fix writing of alias entities

parent d03ab598
......@@ -691,6 +691,10 @@ static void write_entity(write_env_t *env, ir_entity *ent)
write_type(env, type);
write_type(env, owner);
if (is_alias_entity(ent)) {
ir_entity *aliased = get_entity_alias(ent);
write_entity(env, aliased);
}
fputc('\t', env->file);
switch ((ir_entity_kind)ent->entity_kind) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment