Do not mark the transformed as visited. It makes no sense at all.
[libfirm] / ir / ir / instrument.c
index 5300ec3..880ca3a 100644 (file)
@@ -63,7 +63,7 @@ void instrument_initcall(ir_graph *irg, ir_entity *ent) {
                }
        }
        if (first_block == NULL) {
-               panic("Cannot find first block of irg %+F\n", irg);
+               panic("Cannot find first block of irg %+F", irg);
        }
 
        /* check if this block has only one predecessor */