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
f580ceb2
Commit
f580ceb2
authored
Jan 28, 2010
by
Christoph Mallon
Browse files
Use the real firm_clear_link() instead of duplicating it.
[r27003]
parent
c59d37f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/lower/lower_mode_b.c
View file @
f580ceb2
...
...
@@ -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_link
s
,
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
))
{
...
...
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