X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Farch%2Fmodeconv.c;h=1cc8251449ebe7a65f2f09130216478b07477af3;hb=f274dcf35aa0d3f4748387dbddfe50e8d7d44951;hp=e26ff267234973c8effade8ea2184adccde43c6f;hpb=5056059f63cbb2af8fb5691a3f7948feea2dd5d7;p=libfirm diff --git a/ir/arch/modeconv.c b/ir/arch/modeconv.c index e26ff2672..1cc825144 100644 --- a/ir/arch/modeconv.c +++ b/ir/arch/modeconv.c @@ -127,14 +127,14 @@ static void do_mode_conv(ir_node *n, void *env) /* special case: fix the Return */ if (get_irn_op(n) == op_Return) { entity *ent = get_irg_entity(current_ir_graph); - type *mt = get_entity_type(ent); + ir_type *mt = get_entity_type(ent); int i, n_ress = get_method_n_ress(mt); mode = mode_is_signed(mode) ? wenv->s_mode : wenv->u_mode; block = get_nodes_block(n); for (i = 0; i < n_ress; ++i) { ir_node *pred = get_irn_n(n, i + 1); - type *rt = get_method_res_type(mt, i); + ir_type *rt = get_method_res_type(mt, i); if (is_atomic_type(rt)) { mode = get_type_mode(rt);