projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug: Wrong opcode range was requested in be
[libfirm]
/
ir
/
be
/
beblocksched.c
diff --git
a/ir/be/beblocksched.c
b/ir/be/beblocksched.c
index
74187b7
..
a6b6af7
100644
(file)
--- a/
ir/be/beblocksched.c
+++ b/
ir/be/beblocksched.c
@@
-137,7
+137,7
@@
static void collect_egde_frequency(ir_node *block, void *data)
if (block == get_irg_start_block(env->irg))
return;
- arity = get_
irn_arity
(block);
+ arity = get_
Block_n_cfgpreds
(block);
if (arity == 1) {
edge.block = block;