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

Renamed attr.call.cld_tp to attr.call.type

[r25770]
parent 772a0897
......@@ -525,7 +525,7 @@ symconst_attr *get_irn_symconst_attr(ir_node *node) {
ir_type *get_irn_call_attr(ir_node *node) {
assert(is_Call(node));
return node->attr.call.cld_tp = skip_tid(node->attr.call.cld_tp);
return node->attr.call.type = skip_tid(node->attr.call.type);
}
sel_attr *get_irn_sel_attr(ir_node *node) {
......@@ -1369,14 +1369,14 @@ set_Call_param(ir_node *node, int pos, ir_node *param) {
ir_type *
get_Call_type(ir_node *node) {
assert(is_Call(node));
return node->attr.call.cld_tp = skip_tid(node->attr.call.cld_tp);
return node->attr.call.type = skip_tid(node->attr.call.type);
}
void
set_Call_type(ir_node *node, ir_type *tp) {
assert(is_Call(node));
assert((get_unknown_type() == tp) || is_Method_type(tp));
node->attr.call.cld_tp = tp;
node->attr.call.type = tp;
}
ir_node *
......
......@@ -190,7 +190,7 @@ typedef struct {
/** Call attributes. */
typedef struct {
except_attr exc; /**< the exception attribute. MUST be the first one. */
ir_type *cld_tp; /**< type of called procedure */
ir_type *type; /**< type of called procedure */
ir_entity ** callee_arr; /**< result of callee analysis */
} call_attr;
......
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