gcc/
commit9a1bd12f5d9158fc1c4a83703f2a4cb5fd78513d
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jul 2015 07:44:45 +0000 (5 07:44 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jul 2015 07:44:45 +0000 (5 07:44 +0000)
tree3dfeb08ec615098e110099500704dd3f816af3a1
parent31300ecb8bbec82c062c6f948d9b8da115ebdcf6
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225421 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/defaults.h
gcc/expr.c
gcc/gentarget-def.c
gcc/stmt.c
gcc/target-insns.def
gcc/target.def
gcc/targhooks.c