aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ir_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_dump.c')
-rw-r--r--src/ir_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir_dump.c b/src/ir_dump.c
index a3f59f7..7534370 100644
--- a/src/ir_dump.c
+++ b/src/ir_dump.c
@@ -81,8 +81,8 @@ prityp(IRType typ)
else {
const TypeData *td = &typedata[typ.dat];
const char *tag = td->t == TYSTRUCT ? "struct" : "union";
- if (ttypenames[td->id])
- bfmt(out, "%s.%s.%d", tag, ttypenames[td->id], td->id);
+ if (tagtypetags[td->id])
+ bfmt(out, "%s.%s.%d", tag, tagtypetags[td->id], td->id);
else
bfmt(out, "%s.%d", tag, td->id);
}