Added statistic function hook for turn into Id
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 26 May 2004 13:01:16 +0000 (13:01 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 26 May 2004 13:01:16 +0000 (13:01 +0000)
[r2943]

ir/ir/irgmod.c

index df3b717..9cf12ff 100644 (file)
@@ -22,6 +22,7 @@
 # include "irgmod.h"
 # include "array.h"
 # include "ircons.h"
+# include "firmstat.h"
 
 /* Turns a node into a "useless" Tuple.  The Tuple just forms a tuple
    from several inputs.
@@ -52,6 +53,8 @@ exchange (ir_node *old, ir_node *nw)
 
   assert(get_irn_op(old)->opar != oparity_dynamic);
 
+  stat_turn_into_id(old);
+
   block = old->in[0];
 
   old->op = op_Id;