X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fifconv.c;h=56e5607996da45c3c012176a2970a8216e6920d6;hb=6c7c7c010b4f0c9fc87ba4f740fe60ac93ef5724;hp=8158af328309399c052e5ace27ceb9750324166a;hpb=f44b4b1268e91fedfa29f670189b8ca84866bb9a;p=libfirm diff --git a/ir/opt/ifconv.c b/ir/opt/ifconv.c index 8158af328..56e560799 100644 --- a/ir/opt/ifconv.c +++ b/ir/opt/ifconv.c @@ -507,11 +507,11 @@ static void optimise_muxs_1(ir_node* mux, void* env) tarval* tv_t = get_Const_tarval(t); tarval* tv_f = get_Const_tarval(f); if (tarval_is_one(tv_t) && tarval_is_null(tv_f)) { - ir_node* conv = new_r_Conv(current_ir_graph, block, c, mode, 0); + ir_node* conv = new_r_Conv(current_ir_graph, block, c, mode); exchange(mux, conv); } else if (tarval_is_null(tv_t) && tarval_is_one(tv_f)) { ir_node* not_ = new_r_Not(current_ir_graph, block, c, mode_b); - ir_node* conv = new_r_Conv(current_ir_graph, block, not_, mode, 0); + ir_node* conv = new_r_Conv(current_ir_graph, block, not_, mode); exchange(mux, conv); } }