From cb236b67a1a1976a99827999b12ddb3c2b5023fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Tue, 13 Dec 2005 15:38:24 +0000 Subject: [PATCH] fixed missing headers switched on SSADESTR --- ir/be/bechordal_main.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ir/be/bechordal_main.c b/ir/be/bechordal_main.c index 8e598f5e6..7ca168fc3 100644 --- a/ir/be/bechordal_main.c +++ b/ir/be/bechordal_main.c @@ -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 #include -#endif +#endif /* WITH_LIBCORE */ #include "irmode_t.h" #include "irgraph_t.h" @@ -42,6 +45,14 @@ #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); -- 2.20.1