Commit feab72ba authored by Matthias Braun's avatar Matthias Braun
Browse files

move convenience property groups out of ir_graph_properties enum

This doesn't change anything, but let's gdb print ir_graph_properties
variables/member in a nicer way.
parent 7ed5a91f
......@@ -413,7 +413,10 @@ typedef enum ir_graph_properties_t {
IR_GRAPH_PROPERTY_CONSISTENT_ENTITY_USAGE = 1U << 11,
/** graph contains as many returns as possible */
IR_GRAPH_PROPERTY_MANY_RETURNS = 1U << 12,
} ir_graph_properties_t;
ENUM_BITSET(ir_graph_properties_t)
enum {
/**
* List of all graph properties that are only affected by control flow
* changes.
......@@ -439,8 +442,7 @@ typedef enum ir_graph_properties_t {
| IR_GRAPH_PROPERTY_CONSISTENT_ENTITY_USAGE
| IR_GRAPH_PROPERTY_MANY_RETURNS,
} ir_graph_properties_t;
ENUM_BITSET(ir_graph_properties_t)
};
/** sets some state properties on the graph */
FIRM_API void add_irg_properties(ir_graph *irg, ir_graph_properties_t props);
......
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