projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not mark the transformed as visited. It makes no sense at all.
[libfirm]
/
ir
/
be
/
bessaconstr.c
diff --git
a/ir/be/bessaconstr.c
b/ir/be/bessaconstr.c
index
bd5a54f
..
98554ac
100644
(file)
--- a/
ir/be/bessaconstr.c
+++ b/
ir/be/bessaconstr.c
@@
-222,7
+222,7
@@
ir_node *search_def(be_ssa_construction_env_t *env, ir_node *at)
static
void introduce_def_at_block(ir_node *block, ir_node *def)
{
static
void introduce_def_at_block(ir_node *block, ir_node *def)
{
- if
(irn_visited
(block)) {
+ if
(irn_visited_else_mark
(block)) {
ir_node *node = block;
ir_node *current_def;
ir_node *node = block;
ir_node *current_def;
@@
-244,7
+244,6
@@
void introduce_def_at_block(ir_node *block, ir_node *def)
} else {
set_irn_link(block, def);
set_irn_link(def, NULL);
} else {
set_irn_link(block, def);
set_irn_link(def, NULL);
- mark_irn_visited(block);
}
}
}
}
@@
-350,9
+349,9
@@
ir_node **be_ssa_construction_get_new_phis(be_ssa_construction_env_t *env)
void be_ssa_construction_fix_users_array(be_ssa_construction_env_t *env,
ir_node **nodes, size_t nodes_len)
{
void be_ssa_construction_fix_users_array(be_ssa_construction_env_t *env,
ir_node **nodes, size_t nodes_len)
{
- stat_ev_cnt_decl(uses);
const ir_edge_t *edge, *next;
size_t i;
const ir_edge_t *edge, *next;
size_t i;
+ stat_ev_cnt_decl(uses);
BE_TIMER_PUSH(t_ssa_constr);
BE_TIMER_PUSH(t_ssa_constr);