X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Freassoc.c;h=8bba618986d66b9086be23e35aa84a30c0eeeb43;hb=1cf669f14fb238c8cdcfe187714ff2f6579a784c;hp=5bcdbb9c4dc74300826f8231e75eb0103c88cbfa;hpb=cd54f7ca7241d39efc69b33d103f91738641310a;p=libfirm diff --git a/ir/opt/reassoc.c b/ir/opt/reassoc.c index 5bcdbb9c4..8bba61898 100644 --- a/ir/opt/reassoc.c +++ b/ir/opt/reassoc.c @@ -23,9 +23,7 @@ * @author Michael Beck * @version $Id$ */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include "iropt_t.h" #include "irnode_t.h" @@ -519,7 +517,7 @@ static int reassoc_Shl(ir_node **node) { return 0; blk = get_nodes_block(n); - c = new_r_Const(current_ir_graph, blk, mode, tv); + c = new_Const(tv); irn = new_rd_Mul(get_irn_dbg_info(n), current_ir_graph, blk, x, c, mode); if (irn != n) {