diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-06-30 20:55:13 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-06-30 20:55:13 +0000 |
commit | e86a994681b0cad81ea13d29d9ab5f65d40ccc63 (patch) | |
tree | 2193da8de1f51038b6a2aaffb584896891556546 /gcc/toplev.c | |
parent | ec5d0088148d1d6218f5f503d1c8e67a529dfacd (diff) | |
download | gcc-e86a994681b0cad81ea13d29d9ab5f65d40ccc63.zip gcc-e86a994681b0cad81ea13d29d9ab5f65d40ccc63.tar.gz gcc-e86a994681b0cad81ea13d29d9ab5f65d40ccc63.tar.bz2 |
defaults.h (HAVE_epilogue, [...]): Delete.
gcc/
* defaults.h (HAVE_epilogue, gen_epilogue): Delete.
* target-insns.def (epilogue, prologue, sibcall_prologue): New
targetm instruction patterns.
* alias.c (init_alias_analysis): Use them instead of HAVE_*/gen_*
interface.
* calls.c (expand_call): Likewise.
* cfgrtl.c (cfg_layout_finalize): Likewise.
* df-scan.c (df_get_entry_block_def_set): Likewise.
(df_get_exit_block_use_set): Likewise.
* dwarf2cfi.c (pass_dwarf2_frame::gate): Likewise.
* final.c (final_start_function): Likewise.
* function.c (thread_prologue_and_epilogue_insns): Likewise.
(reposition_prologue_and_epilogue_notes): Likewise.
* reorg.c (find_end_label): Likewise.
* toplev.c (process_options): Likewise.
From-SVN: r225208
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 573b144..1fc5bd9 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -112,10 +112,6 @@ along with GCC; see the file COPYING3. If not see declarations for e.g. AIX 4.x. */ #endif -#ifndef HAVE_prologue -#define HAVE_prologue 0 -#endif - #include <new> static void general_init (const char *, bool); @@ -1660,7 +1656,7 @@ process_options (void) /* Do not use IPA optimizations for register allocation if profiler is active or port does not emit prologue and epilogue as RTL. */ - if (profile_flag || !HAVE_prologue || !HAVE_epilogue) + if (profile_flag || !targetm.have_prologue () || !targetm.have_epilogue ()) flag_ipa_ra = 0; /* Enable -Werror=coverage-mismatch when -Werror and -Wno-error |