aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-06-25 17:18:12 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-06-25 17:18:12 +0000
commit4bccb39ebaecc3c91ea8aee58dc0c71d5a7e3b95 (patch)
treed4c2043c4d2fe1765f3dec6cc791fa7b0f3a1899 /gcc/defaults.h
parentd58627a0c75748b24e1c182d0c4cc1d5136cb42c (diff)
downloadgcc-4bccb39ebaecc3c91ea8aee58dc0c71d5a7e3b95.zip
gcc-4bccb39ebaecc3c91ea8aee58dc0c71d5a7e3b95.tar.gz
gcc-4bccb39ebaecc3c91ea8aee58dc0c71d5a7e3b95.tar.bz2
Makefile.in (TARGET_DEF): Add target-insns.def.
gcc/ * Makefile.in (TARGET_DEF): Add target-insns.def. (.PRECIOUS, simple_rtl_generated_h): Add insn-target-def.h. (build/gentarget-def.o): New rule. (genprogrtl): Add target-def. * target-insns.def, gentarget-def.c: New files. * target.def: Add targetm.have_* and targetm.gen_* hooks, based on the contents of target-insns.def. * defaults.h (HAVE_simple_return, gen_simple_return): Delete. (HAVE_return, gen_return): Delete. * target-def.h: Include insn-target-def.h. * cfgrtl.c (force_nonfallthru_and_redirect): Use targetm interface instead of direct calls. Rely on them to do the appropriate assertions. * function.c (gen_return_pattern): Likewise. Return an rtx_insn *. (convert_jumps_to_returns): Use targetm interface instead of direct calls. (thread_prologue_and_epilogue_insns): Likewise. * reorg.c (find_end_label, dbr_schedule): Likewise. * shrink-wrap.h (SHRINK_WRAPPING_ENABLED): Likewise. * shrink-wrap.c (convert_to_simple_return): Likewise. (try_shrink_wrapping): Use SHRINK_WRAPPING_ENABLED. From-SVN: r224979
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 057b646..5534e42 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1426,26 +1426,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define TARGET_VTABLE_USES_DESCRIPTORS 0
#endif
-#ifndef HAVE_simple_return
-#define HAVE_simple_return 0
-static inline rtx
-gen_simple_return ()
-{
- gcc_unreachable ();
- return NULL;
-}
-#endif
-
-#ifndef HAVE_return
-#define HAVE_return 0
-static inline rtx
-gen_return ()
-{
- gcc_unreachable ();
- return NULL;
-}
-#endif
-
#ifndef HAVE_epilogue
#define HAVE_epilogue 0
static inline rtx