Remove the unused attribute const arch_env_t *arch_env from struct draw_chordal_env_t.
[libfirm] / ir / ir / iredges.c
index 1b50ced..74f3240 100644 (file)
 #include "irgwalk.h"
 #include "irdump_t.h"
 #include "irprintf.h"
-#include "irhooks.h"
 #include "debug.h"
 #include "set.h"
 #include "bitset.h"
-#include "xmalloc.h"
 
 #include "iredgeset.h"
 #include "hashptr.h"
@@ -546,7 +544,7 @@ typedef struct visitor_info_t {
 static void visitor(ir_node *irn, void *data) {
        visitor_info_t *info = data;
 
-       if (irn_not_visited(irn)) {
+       if (!irn_visited(irn)) {
                mark_irn_visited(irn);
                info->visit(irn, info->data);
        }
@@ -953,7 +951,7 @@ static void irg_block_edges_walk2(ir_node *bl,
                                 void *env) {
        const ir_edge_t *edge, *next;
 
-       if (Block_not_block_visited(bl)) {
+       if (!Block_block_visited(bl)) {
                mark_Block_block_visited(bl);
 
                if (pre)