aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/hooks.c')
-rw-r--r--gcc-4.8/gcc/hooks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.8/gcc/hooks.c b/gcc-4.8/gcc/hooks.c
index 3b54dfa54..81948071e 100644
--- a/gcc-4.8/gcc/hooks.c
+++ b/gcc-4.8/gcc/hooks.c
@@ -344,6 +344,13 @@ hook_rtx_tree_int_null (tree a ATTRIBUTE_UNUSED, int b ATTRIBUTE_UNUSED)
return NULL;
}
+/* Generic hook that returns NULL_RTX. */
+rtx
+hook_rtx_void_null (void)
+{
+ return NULL;
+}
+
/* Generic hook that takes three trees and returns the last one as is. */
tree
hook_tree_tree_tree_tree_3rd_identity (tree a ATTRIBUTE_UNUSED,