X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firnode.c;h=228b14830a6ee0712c2d5ef69c184ee5a03770fb;hb=69d11aa49aa17358468bbb2f5506ef5f009514e9;hp=4e772d9198e69ccaf43220d760bbf42b957853a2;hpb=2dc559c36ea238dcdc6b7d2656c1663b822b2223;p=libfirm diff --git a/ir/ir/irnode.c b/ir/ir/irnode.c index 4e772d919..228b14830 100644 --- a/ir/ir/irnode.c +++ b/ir/ir/irnode.c @@ -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 * @@ -1430,14 +1430,14 @@ set_Builtin_param(ir_node *node, int pos, ir_node *param) { ir_type * get_Builtin_type(ir_node *node) { assert(is_Builtin(node)); - return node->attr.builtin.builtin_tp = skip_tid(node->attr.builtin.builtin_tp); + return node->attr.builtin.type = skip_tid(node->attr.builtin.type); } void set_Builtin_type(ir_node *node, ir_type *tp) { assert(is_Builtin(node)); assert((get_unknown_type() == tp) || is_Method_type(tp)); - node->attr.builtin.builtin_tp = tp; + node->attr.builtin.type = tp; } /* Returns a human readable string for the ir_builtin_kind. */ @@ -1577,12 +1577,12 @@ BINOP_MEM(OP) \ \ ir_mode *get_##OP##_resmode(const ir_node *node) { \ assert(is_##OP(node)); \ - return node->attr.divmod.res_mode; \ + return node->attr.divmod.resmode; \ } \ \ void set_##OP##_resmode(ir_node *node, ir_mode *mode) { \ assert(is_##OP(node)); \ - node->attr.divmod.res_mode = mode; \ + node->attr.divmod.resmode = mode; \ } @@ -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; }