used new set_irg_doms_inconsistent() to invalidate dom and postdom
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 9 Jan 2006 11:34:58 +0000 (11:34 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 9 Jan 2006 11:34:58 +0000 (11:34 +0000)
[r7203]

ir/ir/irgopt.c

index 1272581..8bf933a 100644 (file)
@@ -97,8 +97,7 @@ static INLINE void do_local_optimize(ir_node *n) {
     set_irg_pinned(current_ir_graph, op_pin_state_floats);
   if (get_irg_outs_state(current_ir_graph) == outs_consistent)
     set_irg_outs_inconsistent(current_ir_graph);
-  if (get_irg_dom_state(current_ir_graph) == dom_consistent)
-    set_irg_dom_inconsistent(current_ir_graph);
+  set_irg_doms_inconsistent(current_ir_graph);
   set_irg_loopinfo_inconsistent(current_ir_graph);
 
   /* Clean the value_table in irg for the CSE. */
@@ -521,8 +520,7 @@ dead_node_elimination(ir_graph *irg) {
     /* @@@ so far we loose loops when copying */
     free_loop_information(current_ir_graph);
 
-    if (get_irg_dom_state(irg) != dom_none)
-      set_irg_dom_inconsistent(irg);
+    set_irg_doms_inconsistent(irg);
 
     /* A quiet place, where the old obstack can rest in peace,
        until it will be cremated. */