X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firnode.c;h=e81e21266a22b711d9adaeb05700a558e3e4b020;hb=203717b8dd44597fb10c126b33a28528a2432e9c;hp=bd90f473ab42166ca4ce7652b84957f74729e28b;hpb=2eaad7a8ceb37de0f53847249aa119d23470ad21;p=libfirm diff --git a/ir/ir/irnode.c b/ir/ir/irnode.c index bd90f473a..e81e21266 100644 --- a/ir/ir/irnode.c +++ b/ir/ir/irnode.c @@ -1120,6 +1120,7 @@ int (is_Const_all_one)(const ir_node *node) { ir_type * get_Const_type(ir_node *node) { assert(node->op == op_Const); + node->attr.con.tp = skip_tid(node->attr.con.tp); return node->attr.con.tp; } @@ -1514,8 +1515,9 @@ void set_Conv_strict(ir_node *node, int strict_flag) { } ir_type * -get_Cast_type(const ir_node *node) { +get_Cast_type(ir_node *node) { assert(node->op == op_Cast); + node->attr.cast.totype = skip_tid(node->attr.cast.totype); return node->attr.cast.totype; }