Commit a5ce4184 authored by Michael Beck's avatar Michael Beck
Browse files

moved the ip_view_state to firm_types.h

[r15037]
parent 0c895460
......@@ -72,4 +72,20 @@ typedef void irg_reg_walk_func(ir_region *, void *);
typedef struct ir_settings_arch_dep_t ir_settings_arch_dep_t;
typedef struct ir_settings_if_conv_t ir_settings_if_conv_t;
/* states */
/** The state of the interprocedural view.
*
* This value indicates the state of the interprocedural view.
*/
typedef enum {
ip_view_no, /**< The interprocedural view is not constructed. There are no
view specific nodes (EndReg, Filter, Break ...) in any graph. */
ip_view_valid, /**< The interprocedural view is valid. */
ip_view_invalid /**< The interprocedural view is invalid. Specific nodes are
all still in the representation, but the graph is no more complete. */
} ip_view_state;
#endif
......@@ -30,18 +30,6 @@
#include "firm_types.h"
/** The state of the interprocedural view.
*
* This value indicates the state of the interprocedural view.
*/
typedef enum {
ip_view_no, /**< The interprocedural view is not constructed. There are no
view specific nodes (EndReg, Filter, Break ...) in any graph. */
ip_view_valid, /**< The interprocedural view is valid. */
ip_view_invalid /**< The interprocedural view is invalid. Specific nodes are
all still in the representation, but the graph is no more complete. */
} ip_view_state;
/** Return the current state of the interprocedural view. */
ip_view_state get_irp_ip_view_state(void);
/** Set the state of the interprocedural view to invalid. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment