X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbemodule.c;h=18bd104a05d0481374c4b70874306793a6f663d9;hb=5474a1c188c9d59eea2c915515980cd9cbab58d8;hp=c309c96ad13cdff9da0de3f571243de42437d2ad;hpb=87ad0010a3fac4bdcf430da4636c7868d4920852;p=libfirm diff --git a/ir/be/bemodule.c b/ir/be/bemodule.c index c309c96ad..18bd104a0 100644 --- a/ir/be/bemodule.c +++ b/ir/be/bemodule.c @@ -22,7 +22,6 @@ * @brief Backend module interface. * @author Matthias Braun * @date 29.09.2005 - * @version $Id$ */ #include "config.h" @@ -58,7 +57,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); @@ -69,6 +67,7 @@ void be_init_ra(void); void be_init_spillbelady(void); void be_init_ssaconstr(void); void be_init_stabs(void); +void be_init_dwarf(void); void be_init_pref_alloc(void); void be_init_irgmod(void); void be_init_loopana(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(); @@ -131,6 +128,7 @@ void be_init_modules(void) be_init_pref_alloc(); be_init_state(); be_init_stabs(); + be_init_dwarf(); be_init_arch_ia32(); be_init_arch_arm(); @@ -138,9 +136,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 +229,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 +238,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);