Commit c9b4f410 authored by Matthias Braun's avatar Matthias Braun
Browse files

backend: remove unused omitleaffp option

[r28016]
parent 7a594c85
......@@ -64,7 +64,6 @@ struct be_options_t {
int timing; /**< time the backend phases */
int opt_profile; /**< instrument code for profiling */
int omit_fp; /**< try to omit the frame pointer */
int omit_leaf_fp; /**< try to omit the frame pointer in leaf routines */
int pic; /**< create position independent code */
int gprof; /**< create gprof compatible profiling code */
int verify_option; /**< backend verify option */
......
......@@ -112,9 +112,6 @@ static ir_heights_t *ir_heights;
/** Flag: if set, try to omit the frame pointer in all routines. */
static int be_omit_fp = 1;
/** Flag: if set, try to omit the frame pointer in leaf routines only. */
static int be_omit_leaf_fp = 1;
/*
_ ____ ___ ____ _ _ _ _
/ \ | __ )_ _| / ___|__ _| | | |__ __ _ ___| | _____
......@@ -263,7 +260,7 @@ static be_abi_call_t *be_abi_call_new(const arch_register_class_t *cls_addr)
call->cb = NULL;
call->cls_addr = cls_addr;
call->flags.bits.try_omit_fp = be_omit_fp | be_omit_leaf_fp;
call->flags.bits.try_omit_fp = be_omit_fp;
return call;
}
......@@ -2203,7 +2200,6 @@ be_abi_irg_t *be_abi_introduce(ir_graph *irg)
return env;
be_omit_fp = options->omit_fp;
be_omit_leaf_fp = options->omit_leaf_fp;
env->dce_survivor = new_survive_dce();
env->keep_map = pmap_create();
......
......@@ -83,7 +83,6 @@ static be_options_t be_options = {
BE_TIME_OFF, /* no timing */
0, /* no opt profile */
0, /* try to omit frame pointer */
0, /* try to omit leaf frame pointer */
0, /* create PIC code */
0, /* create gprof compatible profiling code */
BE_VERIFY_WARN, /* verification level: warn */
......@@ -134,7 +133,6 @@ static const lc_opt_table_entry_t be_main_options[] = {
LC_OPT_ENT_STR ("config", "read another config file containing backend options", config_file, sizeof(config_file)),
LC_OPT_ENT_ENUM_MASK("dump", "dump irg on several occasions", &dump_var),
LC_OPT_ENT_BOOL ("omitfp", "omit frame pointer", &be_options.omit_fp),
LC_OPT_ENT_BOOL ("omitleaffp", "omit frame pointer in leaf routines", &be_options.omit_leaf_fp),
LC_OPT_ENT_BOOL ("pic", "create PIC code", &be_options.pic),
LC_OPT_ENT_BOOL ("gprof", "create gprof profiling code", &be_options.gprof),
LC_OPT_ENT_ENUM_PTR ("verify", "verify the backend irg", &verify_var),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment