summaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r--gcc/targhooks.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 4e970573dd4..80f31767b2d 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -1339,10 +1339,6 @@ default_target_can_inline_p (tree caller, tree callee)
return ret;
}
-#ifndef HAVE_casesi
-# define HAVE_casesi 0
-#endif
-
/* If the machine does not have a case insn that compares the bounds,
this means extra overhead for dispatch tables, which raises the
threshold for using them. */
@@ -1350,7 +1346,7 @@ default_target_can_inline_p (tree caller, tree callee)
unsigned int
default_case_values_threshold (void)
{
- return (HAVE_casesi ? 4 : 5);
+ return (targetm.have_casesi () ? 4 : 5);
}
bool