X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyheur2.c;h=7dc890e0018b603fbf6aa773197223147128d314;hb=8938d107e5c4fd70e921a182360f01f8bbda26cc;hp=dcc363eee750a6c04d273096ffefc0b60f3d0789;hpb=79ed89a676afd08eb739330d46b85b1d1532aec1;p=libfirm diff --git a/ir/be/becopyheur2.c b/ir/be/becopyheur2.c index dcc363eee..7dc890e00 100644 --- a/ir/be/becopyheur2.c +++ b/ir/be/becopyheur2.c @@ -28,6 +28,9 @@ #include "config.h" #endif +#include +#include + #include #include @@ -63,10 +66,6 @@ static int subtree_iter = 4; static int max_depth = 20; static double constr_factor = 0.9; -#ifdef WITH_LIBCORE -#include -#include - /* Options using libcore */ static const lc_opt_enum_mask_items_t dump_items[] = { { "before", DUMP_BEFORE }, @@ -87,18 +86,15 @@ static const lc_opt_table_entry_t options[] = { LC_OPT_ENT_INT ("max", "maximum recursion depth", &max_depth), LC_OPT_LAST }; -#endif /* WITH_LIBCORE */ void be_init_copyheur2(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 *co2_grp = lc_opt_get_grp(chordal_grp, "co2"); lc_opt_add_table(co2_grp, options); -#endif } BE_REGISTER_MODULE_CONSTRUCTOR(be_init_copyheur2);