Add a hook to inform a port about call arguments.
authorBernd Schmidt <bernds@codesourcery.com>
Thu, 6 Nov 2014 17:20:13 +0000 (17:20 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 6 Nov 2014 17:20:13 +0000 (17:20 +0000)
commit2f21e1ba46762bceac682c433028627f6953ed50
tree4999300131a9d6c5e23e1edd7447e5a3a181005a
parent11717c64bf8b17397a6267638833ae6fca606a07
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
gcc/ChangeLog
gcc/calls.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/hooks.c
gcc/hooks.h
gcc/target.def