From c41f796e09e365abe7df6ca1e21a51aa1a6e2ca4 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 1 Jun 2004 09:16:31 +0000 Subject: [PATCH] Added istatistic hooks for dead node elimination [r2979] --- ir/ir/irgopt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ir/ir/irgopt.c b/ir/ir/irgopt.c index 09ac52cab..cce8004b6 100644 --- a/ir/ir/irgopt.c +++ b/ir/ir/irgopt.c @@ -428,6 +428,8 @@ dead_node_elimination(ir_graph *irg) { struct obstack *graveyard_obst = NULL; struct obstack *rebirth_obst = NULL; + stat_dead_node_elim_start(irg); + /* Remember external state of current_ir_graph. */ rem = current_ir_graph; current_ir_graph = irg; @@ -464,6 +466,8 @@ dead_node_elimination(ir_graph *irg) { xfree (graveyard_obst); /* ... then free it. */ } + stat_dead_node_elim_stop(irg); + current_ir_graph = rem; interprocedural_view = rem_ipview; } -- 2.20.1