use assure_irg_outs()
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 31 Jul 2006 09:42:18 +0000 (09:42 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 31 Jul 2006 09:42:18 +0000 (09:42 +0000)
[r8076]

ir/opt/scalar_replace.c

index 9315af9..8dbae73 100644 (file)
@@ -694,8 +694,7 @@ void scalar_replacement_opt(ir_graph *irg)
   rem = current_ir_graph;
 
   /* Call algorithm that computes the out edges */
-  if (get_irg_outs_state(irg) != outs_consistent)
-    compute_irg_outs(irg);
+  assure_irg_outs(irg);
 
   /* Find possible scalar replacements */
   if (find_possible_replacements(irg)) {