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

renamed some firm enum types to have the ir_ prefix

[r8230]
parent 662cef1a
......@@ -366,7 +366,7 @@ void free_ir_graph (ir_graph *irg) {
if (irg->frame_type) free_type(irg->frame_type);
if (irg->value_table) del_identities(irg->value_table);
if (irg->ent) {
peculiarity pec = get_entity_peculiarity (irg->ent);
ir_peculiarity pec = get_entity_peculiarity (irg->ent);
set_entity_peculiarity (irg->ent, peculiarity_description);
set_entity_irg(irg->ent, NULL); /* not set in const code irg */
set_entity_peculiarity (irg->ent, pec);
......
......@@ -1683,14 +1683,14 @@ set_Load_mode (ir_node *node, ir_mode *mode) {
node->attr.load.load_mode = mode;
}
ent_volatility
ir_volatility
get_Load_volatility (ir_node *node) {
assert(node->op == op_Load);
return node->attr.load.volatility;
}
void
set_Load_volatility (ir_node *node, ent_volatility volatility) {
set_Load_volatility (ir_node *node, ir_volatility volatility) {
assert(node->op == op_Load);
node->attr.load.volatility = volatility;
}
......@@ -1732,14 +1732,14 @@ set_Store_value (ir_node *node, ir_node *value) {
set_irn_n(node, 2, value);
}
ent_volatility
ir_volatility
get_Store_volatility (ir_node *node) {
assert(node->op == op_Store);
return node->attr.store.volatility;
}
void
set_Store_volatility (ir_node *node, ent_volatility volatility) {
set_Store_volatility (ir_node *node, ir_volatility volatility) {
assert(node->op == op_Store);
node->attr.store.volatility = volatility;
}
......
This diff is collapsed.
......@@ -159,13 +159,13 @@ typedef struct {
typedef struct {
except_attr exc; /**< The exception attribute. MUST be the first one. */
ir_mode *load_mode; /**< The mode of this Load operation. */
ent_volatility volatility; /**< The volatility of a Load/Store operation. */
ir_volatility volatility; /**< The volatility of a Load/Store operation. */
} load_attr;
/** Store attributes. */
typedef struct {
except_attr exc; /**< the exception attribute. MUST be the first one. */
ent_volatility volatility; /**< the volatility of a Store operation */
ir_volatility volatility; /**< the volatility of a Store operation */
} store_attr;
typedef pn_Cmp confirm_attr; /**< Attribute to hold compare operation */
......
Supports Markdown
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