Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
33c44746
Commit
33c44746
authored
Jan 19, 2009
by
Michael Beck
Browse files
- do not kick inner functions from the frame type
[r25271]
parent
87106caf
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/opt_frame.c
View file @
33c44746
...
...
@@ -87,7 +87,8 @@ void opt_frame_irg(ir_graph *irg) {
list
=
NULL
;
for
(
i
=
n
-
1
;
i
>=
0
;
--
i
)
{
ent
=
get_class_member
(
frame_tp
,
i
);
if
(
get_entity_link
(
ent
)
==
NULL
)
{
/* beware of inner functions: those are NOT unused */
if
(
get_entity_link
(
ent
)
==
NULL
&&
!
is_method_entity
(
ent
))
{
set_entity_link
(
ent
,
list
);
list
=
ent
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment