X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyheur3.c;h=18cae3964d163c6c11473eb5199725394f3b11df;hb=dd4cd761ab637d4488c7e29f49843b1b02366acf;hp=bc5c9f11831ac3802cd58e3edb041b69138cfa66;hpb=79ed89a676afd08eb739330d46b85b1d1532aec1;p=libfirm diff --git a/ir/be/becopyheur3.c b/ir/be/becopyheur3.c index bc5c9f118..18cae3964 100644 --- a/ir/be/becopyheur3.c +++ b/ir/be/becopyheur3.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -28,6 +28,11 @@ #include "config.h" #endif +#ifdef WITH_JVM + +#include "lc_opts.h" +#include "lc_opts_enum.h" + #include #include @@ -63,10 +68,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 +84,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); @@ -241,3 +239,5 @@ int co_solve_heuristic_java(copy_opt_t *co) bitset_free(nodes); return 0; } + +#endif