From: Michael Beck Date: Tue, 24 May 2005 09:11:53 +0000 (+0000) Subject: cleaned up set_irg_loopinfo_inconsistent() and moved to irgraph_t.h X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b1446ee866cd196d6685501bbf8399f762ce231d;p=libfirm cleaned up set_irg_loopinfo_inconsistent() and moved to irgraph_t.h [r5885] --- diff --git a/ir/ir/irgraph.c b/ir/ir/irgraph.c index f735e35d6..d4ed97d70 100644 --- a/ir/ir/irgraph.c +++ b/ir/ir/irgraph.c @@ -641,18 +641,8 @@ void } void -set_irg_loopinfo_inconsistent(ir_graph *irg) { - if (irg->loopinfo_state == loopinfo_ip_consistent) - irg->loopinfo_state = loopinfo_ip_inconsistent; - - else if (irg->loopinfo_state == loopinfo_consistent) - irg->loopinfo_state = loopinfo_inconsistent; - - else if (irg->loopinfo_state == loopinfo_cf_ip_consistent) - irg->loopinfo_state = loopinfo_cf_ip_inconsistent; - - else if (irg->loopinfo_state == loopinfo_cf_consistent) - irg->loopinfo_state = loopinfo_cf_inconsistent; +(set_irg_loopinfo_inconsistent)(ir_graph *irg) { + _set_irg_loopinfo_inconsistent(irg); } void