Commit 7d128813 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Reduce code duplication in foreach_ir_edgeset().

parent 3638a994
......@@ -93,8 +93,6 @@ void ir_edgeset_remove_iterator(ir_edgeset_t *edgeset,
const ir_edgeset_iterator_t *iterator);
#define foreach_ir_edgeset(edgeset, edge, iter) \
for(ir_edgeset_iterator_init(&iter, edgeset), \
edge = ir_edgeset_iterator_next(&iter); \
edge != NULL; edge = ir_edgeset_iterator_next(&iter))
for (ir_edgeset_iterator_init(&iter, edgeset); (edge = ir_edgeset_iterator_next(&iter)) != NULL;)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment