X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyheur3.c;h=d8de8b2af31a424df10d1fff5678fe5c9876217c;hb=2176caea24ef5a9786dc4ada2bd2eaf74ad88b4d;hp=bc5c9f11831ac3802cd58e3edb041b69138cfa66;hpb=79ed89a676afd08eb739330d46b85b1d1532aec1;p=libfirm diff --git a/ir/be/becopyheur3.c b/ir/be/becopyheur3.c index bc5c9f118..d8de8b2af 100644 --- a/ir/be/becopyheur3.c +++ b/ir/be/becopyheur3.c @@ -28,6 +28,9 @@ #include "config.h" #endif +#include +#include + #include #include @@ -63,10 +66,6 @@ static unsigned dump_flags = 0; static int dbg_level = 0; -#ifdef WITH_LIBCORE -#include -#include - static const lc_opt_enum_mask_items_t dump_items[] = { { "before", DUMP_BEFORE }, { "after", DUMP_AFTER }, @@ -83,18 +82,15 @@ static const lc_opt_table_entry_t options[] = { LC_OPT_ENT_INT ("dbg", "debug level for the Java coalescer", &dbg_level), LC_OPT_LAST }; -#endif /* WITH_LIBCORE */ void be_init_copyheur3(void) { -#ifdef WITH_LIBCORE lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be"); lc_opt_entry_t *ra_grp = lc_opt_get_grp(be_grp, "ra"); lc_opt_entry_t *chordal_grp = lc_opt_get_grp(ra_grp, "chordal"); lc_opt_entry_t *co3_grp = lc_opt_get_grp(chordal_grp, "co3"); lc_opt_add_table(co3_grp, options); -#endif } BE_REGISTER_MODULE_CONSTRUCTOR(be_init_copyheur3);