reuse is_switch_Cond function
[libfirm] / ir / opt / escape_ana.c
index ea8dd5c..9ecc50b 100644 (file)
@@ -460,13 +460,9 @@ static void transform_allocs(ir_graph *irg, walk_env_t *env)
   }
 
   /* if allocs were removed somehow */
-  if (env->nr_removed | env->nr_deads) {
-    set_irg_outs_inconsistent(irg);
-
-    if (env->nr_deads) {
-      /* exception control flow might have been changed */
-      set_irg_doms_inconsistent(irg);
-    }
+  if (env->nr_removed && env->nr_deads) {
+         /* exception control flow might have been changed */
+         set_irg_doms_inconsistent(irg);
   }
 }