From: Michael Beck Date: Mon, 31 Jul 2006 09:42:18 +0000 (+0000) Subject: use assure_irg_outs() X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=63f886fe684a11b61a3f609b30de1b2ebcb42459;p=libfirm use assure_irg_outs() [r8076] --- diff --git a/ir/opt/scalar_replace.c b/ir/opt/scalar_replace.c index 9315af941..8dbae7343 100644 --- a/ir/opt/scalar_replace.c +++ b/ir/opt/scalar_replace.c @@ -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)) {