From 7ee20c8e5b735aa494db70b8f4d6ee3092ee9892 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 18 Jun 2007 11:49:54 +0000 Subject: [PATCH] Fixed initialization of option tables [r14576] --- ir/be/beblocksched.c | 4 ++-- ir/be/bechordal_main.c | 2 +- ir/be/becopyheur2.c | 2 +- ir/be/becopyheur3.c | 2 +- ir/be/becopyopt.c | 2 +- ir/be/beifg.c | 2 +- ir/be/bemain.c | 2 +- ir/be/beschedrss.c | 2 +- ir/be/bespilloptions.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c index 310afc14e..ee4669ac6 100644 --- a/ir/be/beblocksched.c +++ b/ir/be/beblocksched.c @@ -82,7 +82,7 @@ static lc_opt_enum_int_var_t algo_var = { static const lc_opt_table_entry_t be_blocksched_options[] = { LC_OPT_ENT_ENUM_INT ("algo", "the block scheduling algorithm", &algo_var), - LC_OPT_ENT_NULL + LC_OPT_LAST }; /* @@ -104,7 +104,7 @@ typedef struct _edge_t { ir_node *block; /**< source block */ int pos; /**< number of cfg predecessor (target) */ double execfreq; /**< the frequency */ - int highest_execfreq; /**< flag that indicates wether this edge is the edge with the highest + int highest_execfreq; /**< flag that indicates whether this edge is the edge with the highest execfreq pointing away from this block */ } edge_t; diff --git a/ir/be/bechordal_main.c b/ir/be/bechordal_main.c index 564cd5b29..d570aff3c 100644 --- a/ir/be/bechordal_main.c +++ b/ir/be/bechordal_main.c @@ -172,7 +172,7 @@ static const lc_opt_table_entry_t be_chordal_options[] = { LC_OPT_ENT_ENUM_PTR ("perm", "perm lowering options", &lower_perm_var), LC_OPT_ENT_ENUM_MASK("dump", "select dump phases", &dump_var), LC_OPT_ENT_ENUM_PTR ("vrfy", "verify options", &be_ch_vrfy_var), - LC_OPT_ENT_NULL + LC_OPT_LAST }; static void dump(unsigned mask, ir_graph *irg, diff --git a/ir/be/becopyheur2.c b/ir/be/becopyheur2.c index a219e5d0b..14bed5036 100644 --- a/ir/be/becopyheur2.c +++ b/ir/be/becopyheur2.c @@ -84,7 +84,7 @@ static const lc_opt_table_entry_t options[] = { LC_OPT_ENT_INT ("iter", "iterations for subtree nodes", &subtree_iter), LC_OPT_ENT_DBL ("cf", "factor of constraint importance (between 0.0 and 1.0)", &constr_factor), LC_OPT_ENT_INT ("max", "maximum recursion depth", &max_depth), - LC_OPT_ENT_NULL + LC_OPT_LAST }; void be_init_copyheur2(void) diff --git a/ir/be/becopyheur3.c b/ir/be/becopyheur3.c index b9d8784d5..a52ad2459 100644 --- a/ir/be/becopyheur3.c +++ b/ir/be/becopyheur3.c @@ -80,7 +80,7 @@ static lc_opt_enum_mask_var_t dump_var = { static const lc_opt_table_entry_t options[] = { LC_OPT_ENT_ENUM_MASK("dump", "dump ifg cloud", &dump_var), LC_OPT_ENT_INT ("dbg", "debug level for the Java coalescer", &dbg_level), - LC_OPT_ENT_NULL + LC_OPT_LAST }; void be_init_copyheur3(void) diff --git a/ir/be/becopyopt.c b/ir/be/becopyopt.c index f3ef071d8..d74bb2a7f 100644 --- a/ir/be/becopyopt.c +++ b/ir/be/becopyopt.c @@ -149,7 +149,7 @@ static const lc_opt_table_entry_t options[] = { LC_OPT_ENT_ENUM_MASK ("style", "dump style for ifg dumping", &style_var), LC_OPT_ENT_BOOL ("stats", "dump statistics after each optimization", &do_stats), LC_OPT_ENT_BOOL ("improve", "run heur3 before if algo can exploit start solutions", &improve), - LC_OPT_ENT_NULL + LC_OPT_LAST }; /* Insert additional options registration functions here. */ diff --git a/ir/be/beifg.c b/ir/be/beifg.c index cd1e2624a..fd020cebf 100644 --- a/ir/be/beifg.c +++ b/ir/be/beifg.c @@ -722,7 +722,7 @@ static lc_opt_enum_int_var_t ifg_flavor_var = { static const lc_opt_table_entry_t be_ifg_options[] = { LC_OPT_ENT_ENUM_PTR ("ifg", "interference graph flavour", &ifg_flavor_var), - LC_OPT_ENT_NULL + LC_OPT_LAST }; void be_init_ifg(void) diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 36d9dcd04..a1453a8b2 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -160,7 +160,7 @@ static const lc_opt_table_entry_t be_main_options[] = { LC_OPT_ENT_STR ("ilp.server", "the ilp server name", be_options.ilp_server, sizeof(be_options.ilp_server)), LC_OPT_ENT_STR ("ilp.solver", "the ilp solver name", be_options.ilp_solver, sizeof(be_options.ilp_solver)), #endif /* WITH_ILP */ - LC_OPT_ENT_NULL + LC_OPT_LAST }; static be_module_list_entry_t *isa_ifs = NULL; diff --git a/ir/be/beschedrss.c b/ir/be/beschedrss.c index a6fce4596..edfa554e9 100644 --- a/ir/be/beschedrss.c +++ b/ir/be/beschedrss.c @@ -218,7 +218,7 @@ static lc_opt_enum_int_var_t dump_var = { static const lc_opt_table_entry_t rss_option_table[] = { LC_OPT_ENT_ENUM_MASK("dump", "dump phases", &dump_var), - LC_OPT_ENT_NULL + LC_OPT_LAST }; /****************************************************************************** diff --git a/ir/be/bespilloptions.c b/ir/be/bespilloptions.c index ed5eac957..2a472098f 100644 --- a/ir/be/bespilloptions.c +++ b/ir/be/bespilloptions.c @@ -44,7 +44,7 @@ int be_do_remats = 1; static const lc_opt_table_entry_t be_spill_options[] = { LC_OPT_ENT_BOOL ("coalesce_slots", "coalesce the spill slots", &be_coalesce_spill_slots), LC_OPT_ENT_BOOL ("remat", "try to rematerialize values instead of reloading", &be_do_remats), - LC_OPT_ENT_NULL + LC_OPT_LAST }; static be_module_list_entry_t *spillers = NULL; -- 2.20.1