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
e3a9f433
Commit
e3a9f433
authored
Jan 14, 2010
by
Michael Beck
Browse files
C99 feature removed.
[r26962]
parent
7ad745a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/loop.c
View file @
e3a9f433
...
...
@@ -159,8 +159,8 @@ static void free_node_info(void)
node_info
*
n
;
n
=
link_node_state_list
;
while
(
n
)
{
++
a
;
node_info
*
next
=
n
->
freelistnext
;
++
a
;
xfree
(
n
);
n
=
next
;
}
...
...
@@ -1343,7 +1343,7 @@ static void find_most_inner_loop(ir_loop *loop)
void
loop_optimization
(
ir_graph
*
irg
)
{
ir_loop
*
loop
;
int
sons
,
nr
;
int
i
,
sons
,
nr
;
/* Init */
link_node_state_list
=
NULL
;
...
...
@@ -1380,12 +1380,11 @@ void loop_optimization(ir_graph *irg)
*/
loops
=
NEW_ARR_F
(
ir_node
*
,
0
);
for
(
nr
=
0
;
nr
<
sons
;
nr
++
)
{
for
(
nr
=
0
;
nr
<
sons
;
++
nr
)
{
find_most_inner_loop
(
get_loop_son
(
loop
,
nr
));
}
int
i
;
for
(
i
=
0
;
i
<
ARR_LEN
(
loops
);
++
i
)
{
for
(
i
=
0
;
i
<
ARR_LEN
(
loops
);
++
i
)
{
ir_loop
*
loop
;
/* not that efficient */
...
...
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