From: Christian Würdig Date: Wed, 28 Jun 2006 15:12:29 +0000 (+0000) Subject: fixed options for spill selector X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=45cbbdb51c0484014fe4ebfbface6c83c3354b28;p=libfirm fixed options for spill selector --- diff --git a/ir/be/bechordal_main.c b/ir/be/bechordal_main.c index 7a6c3ecbd..4358b6d52 100644 --- a/ir/be/bechordal_main.c +++ b/ir/be/bechordal_main.c @@ -122,21 +122,13 @@ static be_ra_chordal_opts_t options = { }; static be_ra_timer_t ra_timer = { - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, }; @@ -231,7 +223,7 @@ static lc_opt_enum_int_var_t be_ch_vrfy_var = { }; static const lc_opt_table_entry_t be_chordal_options[] = { - LC_OPT_ENT_ENUM_MASK("spill", "spill method (belady, ilp, remat or appel)", &spill_var), + LC_OPT_ENT_ENUM_PTR ("spill", "spill method (belady, ilp, remat or appel)", &spill_var), LC_OPT_ENT_ENUM_PTR ("copymin", "copymin method (none, heur1, heur2, ilp1, ilp2 or stat)", ©min_var), LC_OPT_ENT_ENUM_PTR ("ifg", "interference graph flavour (std, fast, clique, pointer, list, check)", &ifg_flavor_var), LC_OPT_ENT_ENUM_PTR ("perm", "perm lowering options (copy or swap)", &lower_perm_var), diff --git a/ir/be/bechordal_t.h b/ir/be/bechordal_t.h index f7f91a5f9..85ff89aa8 100644 --- a/ir/be/bechordal_t.h +++ b/ir/be/bechordal_t.h @@ -91,8 +91,8 @@ void be_ra_chordal_check(be_chordal_env_t *chordal_env); enum { /* spill method */ BE_CH_SPILL_BELADY = 1, - BE_CH_SPILL_ILP = 2, - BE_CH_SPILL_MORGAN = 3, + BE_CH_SPILL_MORGAN = 2, + BE_CH_SPILL_ILP = 3, BE_CH_SPILL_REMAT = 4, BE_CH_SPILL_APPEL = 5,