projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa24dd
)
Inliner must clear parameter flag of entities
author
Andreas Zwinkau
<zwinkau@kit.edu>
Thu, 11 Aug 2011 14:12:31 +0000
(16:12 +0200)
committer
Andreas Zwinkau
<zwinkau@kit.edu>
Thu, 11 Aug 2011 14:12:31 +0000
(16:12 +0200)
ir/opt/opt_inline.c
patch
|
blob
|
history
diff --git
a/ir/opt/opt_inline.c
b/ir/opt/opt_inline.c
index
0fdcec1
..
d405d14
100644
(file)
--- 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;
}
}