summaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 2ebd0718618..a5028de43fb 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -186,6 +186,12 @@ hook_bool_tree_tree_false (tree a ATTRIBUTE_UNUSED, tree b ATTRIBUTE_UNUSED)
}
bool
+hook_bool_tree_bool_false (tree a ATTRIBUTE_UNUSED, bool b ATTRIBUTE_UNUSED)
+{
+ return false;
+}
+
+bool
hook_bool_rtx_false (rtx a ATTRIBUTE_UNUSED)
{
return false;
@@ -256,6 +262,12 @@ hook_tree_tree_tree_bool_null (tree t0 ATTRIBUTE_UNUSED, tree t1 ATTRIBUTE_UNUSE
return NULL;
}
+tree
+hook_tree_tree_tree_null (tree t0 ATTRIBUTE_UNUSED, tree t1 ATTRIBUTE_UNUSED)
+{
+ return NULL;
+}
+
/* Generic hook that takes a rtx and returns a NULL string. */
const char *
hook_constcharptr_rtx_null (rtx r ATTRIBUTE_UNUSED)