Fixed wrong function type.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Tue, 17 Apr 2012 16:42:44 +0000 (18:42 +0200)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Tue, 17 Apr 2012 16:42:44 +0000 (18:42 +0200)
ir/opt/cfopt.c

index 278fbe3..b455993 100644 (file)
@@ -239,8 +239,10 @@ non_dispensable:
  * has only one predecessor with an unconditional jump to this block;
  * and if this block does not contain any phis.
  */
-static void merge_blocks(ir_node *b)
+static void merge_blocks(ir_node *b, void *env)
 {
+       (void) env;
+
        if (get_Block_n_cfgpreds(b) == 1) {
                ir_node* pred = get_Block_cfgpred(b, 0);
                if (is_Jmp(pred)) {