From a34b5ceff954580e27ff360c7f202de67fabad0c Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 5 Jul 2006 14:01:43 +0000 Subject: [PATCH] get_irn_n_edges() enabled the use of the edge counter instead of recalculating the count every time [r8006] --- ir/ir/iredges_t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ir/iredges_t.h b/ir/ir/iredges_t.h index 8a30b124c..7c700262e 100644 --- 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) -- 2.20.1