projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
18ad59c
)
get_irn_n_edges() enabled the use of the edge counter instead of recalculating the
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 5 Jul 2006 14:01:43 +0000
(14:01 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 5 Jul 2006 14:01:43 +0000
(14:01 +0000)
count every time
[r8006]
ir/ir/iredges_t.h
patch
|
blob
|
history
diff --git
a/ir/ir/iredges_t.h
b/ir/ir/iredges_t.h
index
8a30b12
..
7c70026
100644
(file)
--- a/
ir/ir/iredges_t.h
+++ b/
ir/ir/iredges_t.h
@@
-166,7
+166,7
@@
static INLINE int _get_edge_src_pos(const ir_edge_t *edge)
static INLINE int _get_irn_n_edges(const ir_node *irn)
{
/* Perhaps out_count was buggy. This code does it more safely. */
-#if
1
+#if
0
int res = 0;
const struct list_head *pos, *head = _get_irn_outs_head(irn);
list_for_each(pos, head)