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
8c580eca
Commit
8c580eca
authored
Oct 06, 2008
by
Michael Beck
Browse files
- indentation fixed
[r22538]
parent
ca8494f9
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/ir/irgwalk_blk.c
View file @
8c580eca
...
...
@@ -198,7 +198,6 @@ static void traverse_both(blk_collect_data_t* blks, irg_walk_func *pre, irg_walk
traverse_post
(
blks
,
post
,
env
);
}
/**
* Do the traversal
*/
...
...
@@ -209,7 +208,6 @@ static void traverse(blk_collect_data_t* blks, irg_walk_func *pre, irg_walk_func
else
traverse_both
(
blks
,
pre
,
post
,
env
);
}
/**
* walks over the graph and collects all blocks and all block entries
*/
...
...
@@ -242,8 +240,7 @@ static void collect_walk(ir_node *node, blk_collect_data_t *env)
* it might be placed elsewhere if the graph contains
* endless loops.
*/
}
else
{
}
else
{
ARR_APP1
(
ir_node
*
,
env
->
blk_list
,
node
);
}
}
...
...
@@ -309,16 +306,14 @@ static void collect_blks_lists(ir_node *node, ir_node *block,
}
}
}
}
else
{
}
else
{
ARR_APP1
(
ir_node
*
,
entry
->
phi_list
,
node
);
return
;
}
if
(
get_irn_mode
(
node
)
==
mode_X
)
{
ARR_APP1
(
ir_node
*
,
entry
->
cf_list
,
node
);
}
else
{
}
else
{
ARR_APP1
(
ir_node
*
,
entry
->
df_list
,
node
);
}
}
...
...
@@ -397,8 +392,7 @@ do_irg_walk_blk(ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *en
ir_free_resources
(
irg
,
IR_RESOURCE_IRN_VISITED
);
}
void
irg_walk_blkwise_graph
(
ir_graph
*
irg
,
irg_walk_func
*
pre
,
irg_walk_func
*
post
,
void
*
env
)
{
void
irg_walk_blkwise_graph
(
ir_graph
*
irg
,
irg_walk_func
*
pre
,
irg_walk_func
*
post
,
void
*
env
)
{
ir_graph
*
rem
=
current_ir_graph
;
hook_irg_walk_blkwise
(
irg
,
(
generic_func
*
)
pre
,
(
generic_func
*
)
post
);
...
...
@@ -408,8 +402,7 @@ void irg_walk_blkwise_graph(ir_graph *irg, irg_walk_func *pre, irg_walk_func *po
}
void
irg_walk_in_or_dep_blkwise_graph
(
ir_graph
*
irg
,
irg_walk_func
*
pre
,
irg_walk_func
*
post
,
void
*
env
)
{
void
irg_walk_in_or_dep_blkwise_graph
(
ir_graph
*
irg
,
irg_walk_func
*
pre
,
irg_walk_func
*
post
,
void
*
env
)
{
ir_graph
*
rem
=
current_ir_graph
;
hook_irg_walk_blkwise
(
irg
,
(
generic_func
*
)
pre
,
(
generic_func
*
)
post
);
...
...
Write
Preview
Markdown
is supported
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