summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beblocksched.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-03-02 15:51:57 +0100
committerMatthias Braun <matze@braunis.de>2011-03-04 14:17:13 +0100
commit2fafc006101c3845f9fbec5783e44267355549c1 (patch)
treea4c531e9387ac1a7a047648de4fb29378de79307 /ir/be/beblocksched.c
parenta09efb2ccc91c6d720aa6aa8c5f7e3c562528b2a (diff)
cleanup/flatten some backend options
Diffstat (limited to 'ir/be/beblocksched.c')
-rw-r--r--ir/be/beblocksched.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c
index 49fc4c0..f7cefaa 100644
--- a/ir/be/beblocksched.c
+++ b/ir/be/beblocksched.c
@@ -88,7 +88,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_ENUM_INT ("blockscheduler", "the block scheduling algorithm", &algo_var),
LC_OPT_LAST
};
@@ -726,9 +726,8 @@ BE_REGISTER_MODULE_CONSTRUCTOR(be_init_blocksched);
void be_init_blocksched(void)
{
lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");
- lc_opt_entry_t *blocksched_grp = lc_opt_get_grp(be_grp, "blocksched");
- lc_opt_add_table(blocksched_grp, be_blocksched_options);
+ lc_opt_add_table(be_grp, be_blocksched_options);
FIRM_DBG_REGISTER(dbg, "firm.be.blocksched");
}