From: Andreas Zwinkau Date: Thu, 11 Aug 2011 14:12:31 +0000 (+0200) Subject: Inliner must clear parameter flag of entities X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a63fa62c9468f8af3fa6b16001912de9c9c472af;p=libfirm Inliner must clear parameter flag of entities --- diff --git a/ir/opt/opt_inline.c b/ir/opt/opt_inline.c index 0fdcec154..d405d14d1 100644 --- a/ir/opt/opt_inline.c +++ b/ir/opt/opt_inline.c @@ -294,6 +294,8 @@ static void copy_frame_entities(ir_graph *from, ir_graph *to) ir_entity *old_ent = get_class_member(from_frame, i); ir_entity *new_ent = copy_entity_own(old_ent, to_frame); set_entity_link(old_ent, new_ent); + /* since the entity is inlined now, this is not a parameter entity */ + new_ent->is_parameter = 0; } }