Partially undo r20786: Emit ret $0 especially when its BB is only reached by a fallt...
[libfirm] / ir / be / arm / arm_map_regs.c
index 19a3ff1..2d341ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -54,9 +54,10 @@ struct arm_irn_reg_assoc {
        const arch_register_t *reg;
 };
 
-int arm_cmp_irn_reg_assoc(const void *a, const void *b, size_t len) {
+int arm_cmp_irn_reg_assoc(const void *a, const void *b, size_t size) {
        const struct arm_irn_reg_assoc *x = a;
        const struct arm_irn_reg_assoc *y = b;
+       (void) size;
 
        return x->irn != y->irn;
 }