summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyilp2.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 13:33:21 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 23:03:58 +0200
commit26b9008643da89a023fd6839ded5b9abf21ef328 (patch)
treecbcf95533a286954aab40c948e332312659e9f97 /ir/be/becopyilp2.c
parenta6e4400b33bbc81ff78b6da7441b61910bc10cdb (diff)
Use foreach_pset().
Diffstat (limited to 'ir/be/becopyilp2.c')
-rw-r--r--ir/be/becopyilp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c
index 664f559..ee7474a 100644
--- a/ir/be/becopyilp2.c
+++ b/ir/be/becopyilp2.c
@@ -348,7 +348,7 @@ static inline void remove_edge(set *edges, ir_node *n1, ir_node *n2, size_t *cou
}
}
-#define pset_foreach(pset, irn) for (irn=(ir_node*)pset_first(pset); irn; irn=(ir_node*)pset_next(pset))
+#define pset_foreach(pset, irn) foreach_pset((pset), ir_node*, (irn))
/**
* Search for an interference clique and an external node