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/dwarf2cfi.c | |
parent | ec5d0088148d1d6218f5f503d1c8e67a529dfacd (diff) |
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/dwarf2cfi.c')
-rw-r--r-- | gcc/dwarf2cfi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c index e7117fffcc1..b567b23f938 100644 --- a/gcc/dwarf2cfi.c +++ b/gcc/dwarf2cfi.c @@ -3476,11 +3476,10 @@ public: bool pass_dwarf2_frame::gate (function *) { -#ifndef HAVE_prologue /* Targets which still implement the prologue in assembler text cannot use the generic dwarf2 unwinding. */ - return false; -#endif + if (!targetm.have_prologue ()) + return false; /* ??? What to do for UI_TARGET unwinding? They might be able to benefit from the optimized shrink-wrapping annotations that we will compute. |