summaryrefslogtreecommitdiffhomepage
path: root/ir/tr
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-02-29 07:25:56 +0100
committerMatthias Braun <matze@braunis.de>2016-02-29 07:30:23 +0100
commit99c28678990cb92eed8c377ca3c6ed1073569dcf (patch)
tree3354b2edbdc713ae4ed31bb0d24d58c62d0d8ce2 /ir/tr
parent851474f8da6b2b6021e3209d38993f5892d7100a (diff)
Use ir_printf("%F") instead of printf("%s",get_entity_name())
Diffstat (limited to 'ir/tr')
-rw-r--r--ir/tr/type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/tr/type.c b/ir/tr/type.c
index 4a48141..395b00e 100644
--- a/ir/tr/type.c
+++ b/ir/tr/type.c
@@ -1037,7 +1037,7 @@ ir_type *clone_frame_type(ir_type *type)
ir_type *res = new_type_frame();
for (size_t i = 0, n = get_compound_n_members(type); i < n; ++i) {
ir_entity *ent = get_compound_member(type, i);
- ident *name = get_entity_name(ent);
+ ident *name = get_entity_ident(ent);
ir_entity *nent = clone_entity(ent, name, res);
set_entity_link(ent, nent);
set_entity_link(nent, ent);