aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 30ba6d1..23038ff 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -192,12 +192,6 @@ hook_bool_rtx_false (rtx a ATTRIBUTE_UNUSED)
}
bool
-hook_bool_rtx_true (rtx a ATTRIBUTE_UNUSED)
-{
- return true;
-}
-
-bool
hook_bool_uintp_uintp_false (unsigned int *a ATTRIBUTE_UNUSED,
unsigned int *b ATTRIBUTE_UNUSED)
{
@@ -255,3 +249,10 @@ hook_tree_tree_tree_bool_null (tree t0 ATTRIBUTE_UNUSED, tree t1 ATTRIBUTE_UNUSE
{
return NULL;
}
+
+/* Generic hook that takes a rtx and returns a NULL string. */
+const char *
+hook_constcharptr_rtx_null (rtx r ATTRIBUTE_UNUSED)
+{
+ return NULL;
+}