projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e77a29c
)
Use the proper magic word (get_Block_n_cfgpreds()) to get the number of cf predecesso...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 17 May 2007 06:39:30 +0000
(06:39 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 17 May 2007 06:39:30 +0000
(06:39 +0000)
[r13910]
ir/be/beblocksched.c
patch
|
blob
|
history
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;