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/final.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/final.c')
-rw-r--r-- | gcc/final.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/final.c b/gcc/final.c index a4b0f36..fe2d6ad 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1803,12 +1803,8 @@ final_start_function (rtx_insn *first, FILE *file, if the profiling code comes after the prologue. */ if (targetm.profile_before_prologue () && crtl->profile) { - if (targetm.asm_out.function_prologue - == default_function_pro_epilogue -#ifdef HAVE_prologue - && HAVE_prologue -#endif - ) + if (targetm.asm_out.function_prologue == default_function_pro_epilogue + && targetm.have_prologue ()) { rtx_insn *insn; for (insn = first; insn; insn = NEXT_INSN (insn)) @@ -1864,9 +1860,7 @@ final_start_function (rtx_insn *first, FILE *file, /* If the machine represents the prologue as RTL, the profiling code must be emitted when NOTE_INSN_PROLOGUE_END is scanned. */ -#ifdef HAVE_prologue - if (! HAVE_prologue) -#endif + if (! targetm.have_prologue ()) profile_after_prologue (file); } |