From a63fa62c9468f8af3fa6b16001912de9c9c472af Mon Sep 17 00:00:00 2001 From: Andreas Zwinkau Date: Thu, 11 Aug 2011 16:12:31 +0200 Subject: [PATCH] Inliner must clear parameter flag of entities --- ir/opt/opt_inline.c | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.20.1