aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/hooks.c')
-rw-r--r--gcc-4.9/gcc/hooks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/hooks.c b/gcc-4.9/gcc/hooks.c
index 1c67bdfec..10384542d 100644
--- a/gcc-4.9/gcc/hooks.c
+++ b/gcc-4.9/gcc/hooks.c
@@ -365,6 +365,13 @@ hook_uint_mode_0 (enum machine_mode m ATTRIBUTE_UNUSED)
return 0;
}
+/* 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,