Commit d6d1fb04 authored by Moritz Kroll's avatar Moritz Kroll
Browse files

Renamed attr.copyb.data_type to attr.copyb.type

[r25776]
parent d3563449
......@@ -788,7 +788,7 @@ new_bd_CopyB(dbg_info *db, ir_node *block,
res = new_ir_node(db, irg, block, op_CopyB, mode_T, 3, in);
res->attr.copyb.exc.pin_state = op_pin_state_pinned;
res->attr.copyb.data_type = data_type;
res->attr.copyb.type = data_type;
res = optimize_node(res);
IRN_VRFY_IRG(res, irg);
return res;
......
......@@ -2352,12 +2352,12 @@ void set_CopyB_src(ir_node *node, ir_node *src) {
ir_type *get_CopyB_type(ir_node *node) {
assert(is_CopyB(node));
return node->attr.copyb.data_type = skip_tid(node->attr.copyb.data_type);
return node->attr.copyb.type = skip_tid(node->attr.copyb.type);
}
void set_CopyB_type(ir_node *node, ir_type *data_type) {
assert(is_CopyB(node) && data_type);
node->attr.copyb.data_type = data_type;
node->attr.copyb.type = data_type;
}
......
......@@ -274,7 +274,7 @@ typedef struct {
/** CopyB attribute. */
typedef struct {
except_attr exc; /**< The exception attribute. MUST be the first one. */
ir_type *data_type; /**< Type of the copied entity. */
ir_type *type; /**< Type of the copied entity. */
} copyb_attr;
/** Bound attribute. */
......
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