fixed missing headers
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Tue, 13 Dec 2005 15:38:24 +0000 (15:38 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Tue, 13 Dec 2005 15:38:24 +0000 (15:38 +0000)
switched on SSADESTR

ir/be/bechordal_main.c

index 8e598f5..7ca168f 100644 (file)
@@ -8,6 +8,9 @@
  *
  * Driver for the chordal register allocator.
  */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 #include "obst.h"
 #include "pset.h"
@@ -18,7 +21,7 @@
 #ifdef WITH_LIBCORE
 #include <libcore/lc_opts.h>
 #include <libcore/lc_opts_enum.h>
-#endif
+#endif /* WITH_LIBCORE */
 
 #include "irmode_t.h"
 #include "irgraph_t.h"
 #include "bespillbelady.h"
 #include "bespillilp.h"
 
+#define DO_SSADESTR
+
+#ifdef DO_SSADESTR
+#include "bessadestr.h"
+#include "becopystat.h"
+#include "becopyoptmain.h"
+#endif /* DO_SSADESTR */
+
 
 void be_ra_chordal_check(be_chordal_env_t *chordal_env) {
        firm_dbg_module_t *dbg = chordal_env->dbg;
@@ -258,7 +269,7 @@ static void be_ra_chordal_main(const be_main_env_t *main_env, ir_graph *irg)
                dump(BE_CH_DUMP_SSADESTR, irg, "-ssadestr", dump_ir_block_graph_sched);
 
                copystat_dump(irg);
-#endif
+#endif /* DO_SSADESTR */
 
                be_ifg_free(chordal_env.ifg);
                be_numbering_done(irg);