Unbreak build.
[libfirm] / ir / opt / loop_unrolling.c
index dfd7a58..7e52ea5 100644 (file)
 #include "config.h"
 #endif
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
-
-#include "loop_unrolling.h"
 
+#include "iroptimize.h"
 #include "irnode_t.h"
 #include "irgwalk.h"
 #include "ircons.h"
@@ -50,7 +47,7 @@
 #include "trouts.h"
 #include "hashptr.h"
 #include "pset.h"
-#include "strength_red.h"
+#include "strength_red_t.h"
 #include "compute_loop_info.h"
 #include "irdump.h"
 #include "irtools.h"
@@ -75,6 +72,7 @@ static int set_cmp(const void *elt, const void *key, size_t size)
 {
   const copies_t *c1 = elt;
   const copies_t *c2 = key;
+  (void) size;
 
   return c1->irn != c2->irn;
 }
@@ -115,6 +113,8 @@ set_preds (set *l_n, copies_t *value, induct_var_info *info, int unroll_factor,
   ir_node *loop_head;
   int i, p, irn_arity;
   copies_t key, *value_pred;
+  (void) env;
+
   if(value->copy[0] == NULL ||
      get_irn_op(value->irn) != get_irn_op(value->copy[0]))
     return;