projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added eor test
[libfirm]
/
ir
/
ana
/
execution_frequency.c
diff --git
a/ir/ana/execution_frequency.c
b/ir/ana/execution_frequency.c
index
d1c2751
..
907f9f3
100644
(file)
--- a/
ir/ana/execution_frequency.c
+++ b/
ir/ana/execution_frequency.c
@@
-160,7
+160,7
@@
my_irg_walk_2_both(ir_node *node, irg_walk_func *pre, irg_walk_func *post, void
if (node->op == op_Proj)
pred = get_irn_n(node, 0);
else
- pred = get_
nodes_block(node
);
+ pred = get_
irn_n(node, -1
);
if (pred->visited < current_ir_graph->visited)
my_irg_walk_2_both(pred, pre, post, env);
}