fix parameter loads not being rematerialized
[libfirm] / ir / ana / compute_loop_info.c
index 2672af8..bb79646 100644 (file)
@@ -28,7 +28,7 @@
 #endif
 
 #include "compute_loop_info.h"
-#include "strength_red.h"
+#include "strength_red_t.h"
 #include "tv.h"
 #include "irgwalk.h"
 #include "irnode_t.h"
@@ -344,6 +344,7 @@ static void set_loop_info(ir_node *n, void *env)
   tarval *loop_end;
   induct_var_info info;
   int is_endlessloop = 0 , is_nonentered_loop = 0;
+  (void) env;
 
   /* The IR node must be a induction variable. */
   if (get_irn_op(n) != op_Phi)