aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-07-05 07:44:45 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-07-05 07:44:45 +0000
commit8684d89dea02aad5fba0ef4cef4eb7e51ea74450 (patch)
tree3dfeb08ec615098e110099500704dd3f816af3a1 /gcc/defaults.h
parent9d07490f09ebb24ea3fd58237878fff6ca676f99 (diff)
downloadgcc-8684d89dea02aad5fba0ef4cef4eb7e51ea74450.zip
gcc-8684d89dea02aad5fba0ef4cef4eb7e51ea74450.tar.gz
gcc-8684d89dea02aad5fba0ef4cef4eb7e51ea74450.tar.bz2
target.def: Add code_for_* hooks.
gcc/ * target.def: Add code_for_* hooks. * gentarget-def.c (def_target_insn): Add TARGET_CODE_FOR_* macros. * defaults.h (HAVE_tablejump, gen_tablejump): Delete. * target-insns.def (casesi, tablejump): New targetm instruction patterns. * expr.c (try_casesi): Use them instead of HAVE_*/gen_* interface. (do_tablejump): Likewise. * stmt.c (expand_switch_as_decision_tree_p): Likewise. (expand_sjlj_dispatch_table): Likewise. * targhooks.c (default_case_values_threshold): Likewise. From-SVN: r225421
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index ea10eb9..5beddea 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1426,16 +1426,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define TARGET_VTABLE_USES_DESCRIPTORS 0
#endif
-#ifndef HAVE_tablejump
-#define HAVE_tablejump 0
-static inline rtx
-gen_tablejump (rtx, rtx)
-{
- gcc_unreachable ();
- return NULL;
-}
-#endif
-
#endif /* GCC_INSN_FLAGS_H */
#endif /* ! GCC_DEFAULTS_H */