X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbemodule.c;h=24958988431efb60e9fcdd192aa5100b5bb27c2b;hb=10d435353850d6f7c858e5b9e71fb06443855d95;hp=d3002ec4315b195fa17757e3ee184b0e75ba7698;hpb=a09efb2ccc91c6d720aa6aa8c5f7e3c562528b2a;p=libfirm diff --git a/ir/be/bemodule.c b/ir/be/bemodule.c index d3002ec43..249589884 100644 --- a/ir/be/bemodule.c +++ b/ir/be/bemodule.c @@ -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,12 +116,8 @@ void be_init_modules(void) be_init_copyheur4(); be_init_copyheur(); be_init_copyheur2(); -#ifdef WITH_ILP be_init_copyilp2(); -#endif -#ifdef FIRM_KAPS be_init_pbqp_coloring(); -#endif be_init_copynone(); be_init_copystat(); be_init_peephole(); @@ -140,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(); @@ -235,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); @@ -244,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);