The big committ:
[libfirm] / ir / be / bemodule.c
index 181022f..bd9be66 100644 (file)
@@ -6,7 +6,7 @@
  * CVS-Id:      $Id$
  */
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif /* HAVE_CONFIG_H */
 
 #include <stdlib.h>
@@ -37,6 +37,10 @@ void be_init_spillbelady(void);
 void be_init_spillmorgan(void);
 void be_init_spillremat(void);
 void be_init_ifg(void);
+void be_init_irgmod(void);
+void be_init_loopana(void);
+void be_init_spillslots(void);
+void be_init_live(void);
 
 void be_quit_copystat(void);
 
@@ -52,6 +56,10 @@ void be_init_modules(void)
                return;
        run_once = 1;
 
+       be_init_irgmod();
+       be_init_loopana();
+       be_init_live();
+       be_init_spillslots();
        be_init_sched();
        be_init_blocksched();
        be_init_spill();
@@ -82,7 +90,7 @@ void be_init_modules(void)
        be_init_javacoal();
 #endif /* WITH_JVM */
 
-#ifdef PLUGIN_IR_BE_STA
+#if PLUGIN_IR_BE_STA
        be_init_arch_sta();
 #endif /* PLUGIN_IR_BE_STA */
 }
@@ -94,7 +102,6 @@ void be_quit_modules(void)
 
 //---------------------------------------------------------------------------
 
-#ifdef WITH_LIBCORE
 typedef struct module_opt_data_t {
        void **var;
        be_module_list_entry_t * const *list_head;
@@ -211,5 +218,3 @@ void be_add_module_list_opt(lc_opt_entry_t *grp, const char *name,
                       set_opt_module, dump_opt_module, dump_opt_module_vals,
                                   NULL);
 }
-
-#endif /* WITH_LIBCORE */