From 06651111290d70d0890c60b4506dbbeb9f80c79f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Wed, 5 Apr 2006 10:39:54 +0000 Subject: [PATCH] made omitfp default, option is now noomitfp --- ir/be/beabi.c | 4 ++-- ir/be/bemain.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ir/be/beabi.c b/ir/be/beabi.c index 5fb589777..81dfc3123 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -108,8 +108,8 @@ struct _be_abi_irg_t { static const arch_irn_ops_if_t abi_irn_ops; static const arch_irn_handler_t abi_irn_handler; -/* Flag: if set, try to omit the frame pointer if alled by the backend */ -int be_omit_fp = 0; +/* Flag: if set, try to omit the frame pointer if called by the backend */ +int be_omit_fp = 1; /* _ ____ ___ ____ _ _ _ _ diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 1730dbfcb..eaa13d0cc 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -130,7 +130,7 @@ static const lc_opt_table_entry_t be_main_options[] = { LC_OPT_ENT_ENUM_MASK("dump", "dump irg on several occasions", &dump_var), LC_OPT_ENT_ENUM_PTR("ra", "register allocator", &ra_var), LC_OPT_ENT_ENUM_PTR("isa", "the instruction set architecture", &isa_var), - LC_OPT_ENT_BOOL("omitfp", "omit frame pointer", &be_omit_fp), + LC_OPT_ENT_NEGBOOL("noomitfp", "do not omit frame pointer", &be_omit_fp), #ifdef WITH_ILP LC_OPT_ENT_STR ("ilp.server", "the ilp server name", be_options.ilp_server, sizeof(be_options.ilp_server)), -- 2.20.1