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,
/* 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