Commit 1b092e5e authored by Moritz Kroll's avatar Moritz Kroll
Browse files

Renamed attr.load.load_mode to attr.load.mode

[r25750]
parent e4f9141f
......@@ -549,7 +549,7 @@ new_bd_Load(dbg_info *db, ir_node *block,
in[1] = adr;
res = new_ir_node(db, irg, block, op_Load, mode_T, 2, in);
res->attr.load.exc.pin_state = flags & cons_floats ? op_pin_state_floats : op_pin_state_pinned;
res->attr.load.load_mode = mode;
res->attr.load.mode = mode;
res->attr.load.volatility = flags & cons_volatile ? volatility_is_volatile : volatility_non_volatile;
res->attr.load.aligned = flags & cons_unaligned ? align_non_aligned : align_is_aligned;
res = optimize_node(res);
......
......@@ -1836,13 +1836,13 @@ set_Load_ptr(ir_node *node, ir_node *ptr) {
ir_mode *
get_Load_mode(const ir_node *node) {
assert(is_Load(node));
return node->attr.load.load_mode;
return node->attr.load.mode;
}
void
set_Load_mode(ir_node *node, ir_mode *mode) {
assert(is_Load(node));
node->attr.load.load_mode = mode;
node->attr.load.mode = mode;
}
ir_volatility
......
......@@ -242,7 +242,7 @@ typedef struct {
except_attr exc; /**< The exception attribute. MUST be the first one. */
unsigned volatility:1; /**< The volatility of this Load operation. */
unsigned aligned:1; /**< The align attribute of this Load operation. */
ir_mode *load_mode; /**< The mode of this Load operation. */
ir_mode *mode; /**< The mode of this Load operation. */
} load_attr;
/** Store attributes. */
......
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