lowering: fix i_mapper for new exception attributes
[libfirm] / ir / be / bemodule.c
index c309c96..2495898 100644 (file)
@@ -58,7 +58,6 @@ void be_init_daemelspill(void);
 void be_init_dbgout(void);
 void be_init_arch_ia32(void);
 void be_init_arch_arm(void);
-void be_init_arch_sparc(void);
 void be_init_arch_amd64(void);
 void be_init_arch_sta(void);
 void be_init_arch_sparc(void);
@@ -117,9 +116,7 @@ void be_init_modules(void)
        be_init_copyheur4();
        be_init_copyheur();
        be_init_copyheur2();
-#ifdef WITH_ILP
        be_init_copyilp2();
-#endif
        be_init_pbqp_coloring();
        be_init_copynone();
        be_init_copystat();
@@ -138,9 +135,7 @@ void be_init_modules(void)
        be_init_arch_amd64();
        be_init_arch_TEMPLATE();
 
-#ifdef WITH_ILP
        be_init_copyilp();
-#endif /* WITH_ILP */
 
 #if PLUGIN_IR_BE_STA
        be_init_arch_sta();
@@ -233,7 +228,7 @@ static int dump_opt_module_vals(char *buf, size_t buflen, const char *name,
        (void) len;
 
        for (module = *(moddata->list_head); module != NULL; module = module->next) {
-               size_t len = strlen(module->name);
+               size_t name_len = strlen(module->name);
 
                if (module != *(moddata->list_head)) {
                        p       = strncat(p, ", ", buflen - 1);
@@ -242,10 +237,10 @@ static int dump_opt_module_vals(char *buf, size_t buflen, const char *name,
 
                p = strncat(p, module->name, buflen - 1);
 
-               if (len >= buflen)
+               if (name_len >= buflen)
                        break;
 
-               buflen -= len;
+               buflen -= name_len;
        }
 
        return strlen(buf);