introduce TEMPLATE_emitf
[libfirm] / ir / be / beifg.c
index e59faa6..857c20b 100644 (file)
@@ -244,11 +244,9 @@ static inline int get_next_clique(cliques_iter_t *it)
                                /* before shrinking the set, return the current maximal clique */
                                if (output_on_shrink) {
                                        int count = 0;
-                                       ir_node *irn;
 
                                        /* fill the output buffer */
-                                       for (irn = (ir_node*)pset_first(it->living); irn != NULL;
-                                            irn = (ir_node*)pset_next(it->living)) {
+                                       foreach_pset(it->living, ir_node, irn) {
                                                it->buf[count++] = irn;
                                        }