add inconsistency flags
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 8 Jun 2004 15:58:37 +0000 (15:58 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 8 Jun 2004 15:58:37 +0000 (15:58 +0000)
[r3037]

ir/opt/tailrec.c

index 8b95a17..70b9ba2 100644 (file)
@@ -121,6 +121,15 @@ static void do_opt_tail_rec(ir_graph *irg, ir_node *rets, int n_tail_calls)
 
   assert(n_tail_calls);
 
+  /* we add nwe nodes, so the outs are inconsistant */
+  set_irg_outs_inconsistent(irg);
+
+  /* we add new blocks and change the control flow */
+  set_irg_dom_inconsistent(irg);
+
+  /* we add a new loop */
+  set_irg_loopinfo_inconsistent(irg);
+
   set_optimize(0);
 
   /* collect needed data */