Removed unused block parameter from Const constructors
[libfirm] / ir / be / beblocksched.c
index cbfb98d..11fb8c0 100644 (file)
@@ -34,9 +34,7 @@
  * a next and prev pointers on blocks. The greedy algorithm sorts the edges by
  * execution frequencies and tries to transform them to fallthroughs in this order
  */
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "beblocksched.h"
 
@@ -508,7 +506,6 @@ static void collect_egde_frequency_ilp(ir_node *block, void *data)
        }
        else {
                int i;
-               int *edgenums = alloca(sizeof(edgenums[0]) * arity);
 
                snprintf(name, sizeof(name), "block_in_constr_%ld", get_irn_node_nr(block));
                cst = lpp_add_cst_uniq(env->lpp, name, lpp_greater, arity - 1);