X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Freassoc.c;h=8bba618986d66b9086be23e35aa84a30c0eeeb43;hb=e0a2eca7e1d13c2f1ccb8a70479039c01c0c69ef;hp=cb99eee111704beeb97a2ce40c6fbae15ae9d43a;hpb=f44b4b1268e91fedfa29f670189b8ca84866bb9a;p=libfirm diff --git a/ir/opt/reassoc.c b/ir/opt/reassoc.c index cb99eee11..8bba61898 100644 --- a/ir/opt/reassoc.c +++ b/ir/opt/reassoc.c @@ -266,15 +266,15 @@ static int reassoc_commutative(ir_node **node) if (mode_is_int(mode_c1) && mode_is_int(mode_c2)) { /* get the bigger one */ if (get_mode_size_bits(mode_c1) > get_mode_size_bits(mode_c2)) - c2 = new_r_Conv(current_ir_graph, block, c2, mode_c1, 0); + c2 = new_r_Conv(current_ir_graph, block, c2, mode_c1); else if (get_mode_size_bits(mode_c1) < get_mode_size_bits(mode_c2)) - c1 = new_r_Conv(current_ir_graph, block, c1, mode_c2, 0); + c1 = new_r_Conv(current_ir_graph, block, c1, mode_c2); else { /* Try to cast the real const */ if (c_c1 == REAL_CONSTANT) - c1 = new_r_Conv(current_ir_graph, block, c1, mode_c2, 0); + c1 = new_r_Conv(current_ir_graph, block, c1, mode_c2); else - c2 = new_r_Conv(current_ir_graph, block, c2, mode_c1, 0); + c2 = new_r_Conv(current_ir_graph, block, c2, mode_c1); } } }