aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2014-11-06 17:20:13 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2014-11-06 17:20:13 +0000
commit2f21e1ba46762bceac682c433028627f6953ed50 (patch)
tree4999300131a9d6c5e23e1edd7447e5a3a181005a /gcc/hooks.c
parent11717c64bf8b17397a6267638833ae6fca606a07 (diff)
downloadgcc-2f21e1ba46762bceac682c433028627f6953ed50.zip
gcc-2f21e1ba46762bceac682c433028627f6953ed50.tar.gz
gcc-2f21e1ba46762bceac682c433028627f6953ed50.tar.bz2
Add a hook to inform a port about call arguments.
* target.def (call_args, end_call_args): New hooks. * hooks.c (hook_void_rtx_tree): New empty function. * hooks.h (hook_void_rtx_tree): Declare. * doc/tm.texi.in (TARGET_CALL_ARGS, TARGET_END_CALL_ARGS): Add. * doc/tm.texi: Regenerate. * calls.c (expand_call): Slightly rearrange the code. Use the two new hooks. (expand_library_call_value_1): Use the two new hooks. From-SVN: r217199
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index b5b1587..91e17cd 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -245,6 +245,11 @@ hook_void_tree (tree a ATTRIBUTE_UNUSED)
}
void
+hook_void_rtx_tree (rtx, tree)
+{
+}
+
+void
hook_void_constcharptr (const char *a ATTRIBUTE_UNUSED)
{
}