From 25626ba98317e9672e6f345cc3e4bcc1d1b43381 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Wed, 8 Sep 2004 07:28:38 +0000 Subject: [PATCH] ugly fix for firmjni [r3834] --- ir/ir/irgraph.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ir/ir/irgraph.h b/ir/ir/irgraph.h index 9c051cbd4..bd32f8615 100644 --- a/ir/ir/irgraph.h +++ b/ir/ir/irgraph.h @@ -281,10 +281,13 @@ typedef enum { loopinfo_cf = 4, /**< Loop information constructed for control flow only. */ loopinfo_inter = 8, /**< Loop information for interprocedural view. */ + loopinfo_for_firmjni = 16, /**< A hack for firmjni: all enums must differ as they + are used in a switch. */ + /** IntRAprocedural loop information constructed and valid. */ loopinfo_consistent = loopinfo_constructed | loopinfo_valid, /** IntRAprocedural loop information constructed and invalid. */ - loopinfo_inconsistent = loopinfo_constructed, + loopinfo_inconsistent = loopinfo_constructed | loopinfo_for_firmjni, /** IntERprocedural loop information constructed and valid. */ loopinfo_ip_consistent = loopinfo_constructed | loopinfo_inter | loopinfo_valid, @@ -307,8 +310,6 @@ void set_irg_loopinfo_state(ir_graph *irg, irg_loopinfo_state s); /* Sets the loopinformation state to the appropriate inconsistent state. If state is 'none' does not change. */ void set_irg_loopinfo_inconsistent(ir_graph *irg); -/** Returns true if irg has consistent loop info. */ -int get_irg_loopinfo_state_consistent(ir_graph *irg); /** state: callee_information_state * Call nodes contain a list of possible callees. This list must be -- 2.20.1