projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c59d37f
)
Use the real firm_clear_link() instead of duplicating it.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 28 Jan 2010 19:09:16 +0000
(19:09 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 28 Jan 2010 19:09:16 +0000
(19:09 +0000)
[r27003]
ir/lower/lower_mode_b.c
patch
|
blob
|
history
diff --git
a/ir/lower/lower_mode_b.c
b/ir/lower/lower_mode_b.c
index
fa1ad2b
..
94a8d94
100644
(file)
--- a/
ir/lower/lower_mode_b.c
+++ b/
ir/lower/lower_mode_b.c
@@
-399,12
+399,6
@@
static void lower_mode_b_walker(ir_node *node, void *env)
}
}
-static void clear_links(ir_node *node, void *env)
-{
- (void) env;
- set_irn_link(node, NULL);
-}
-
void ir_lower_mode_b(ir_graph *irg, const lower_mode_b_config_t *nconfig)
{
ir_entity *entity = get_irg_entity(irg);
@@
-422,7
+416,7
@@
void ir_lower_mode_b(ir_graph *irg, const lower_mode_b_config_t *nconfig)
adjust_method_type(type);
set_opt_allow_conv_b(0);
- irg_walk_graph(irg,
clear_links
, NULL, NULL);
+ irg_walk_graph(irg,
firm_clear_link
, NULL, NULL);
irg_walk_graph(irg, lower_mode_b_walker, NULL, NULL);
while(!pdeq_empty(lowered_nodes)) {