deallocate all datastructures when freeing a graph
authorMatthias Braun <matze@braunis.de>
Mon, 29 Oct 2012 12:51:57 +0000 (13:51 +0100)
committerMatthias Braun <matze@braunis.de>
Mon, 29 Oct 2012 16:48:54 +0000 (17:48 +0100)
ir/ir/irgraph.c

index 7d0e5b4..724fea8 100644 (file)
@@ -395,8 +395,8 @@ void free_ir_graph(ir_graph *irg)
 {
        assert(is_ir_graph(irg));
 
-       edges_deactivate(irg);
        remove_irp_irg(irg);
+       confirm_irg_properties(irg, IR_GRAPH_PROPERTIES_NONE);
 
        hook_free_graph(irg);
        free_irg_outs(irg);