- BugFix: use env.rbs_size everywhere
[libfirm] / ir / opt / reassoc.c
index 5bcdbb9..8bba618 100644 (file)
@@ -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) {