hook_dead_node_elim_start() and hook_dead_node_elim_end() replaced by hook_dead_node_...
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Oct 2005 10:59:38 +0000 (10:59 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Oct 2005 10:59:38 +0000 (10:59 +0000)
[r6768]

ir/ir/irgopt.c

index 560d47e..a4f7651 100644 (file)
@@ -522,7 +522,7 @@ dead_node_elimination(ir_graph *irg) {
        edges_init_graph(irg);
 
   /* inform statistics that we started a dead-node elimination run */
-  hook_dead_node_elim_start(irg);
+  hook_dead_node_elim(irg, 1);
 
   /* Remember external state of current_ir_graph. */
   rem = current_ir_graph;
@@ -561,7 +561,7 @@ dead_node_elimination(ir_graph *irg) {
   }
 
   /* inform statistics that the run is over */
-  hook_dead_node_elim_stop(irg);
+  hook_dead_node_elim(irg, 0);
 
   current_ir_graph = rem;
   set_interprocedural_view(rem_ipview);