diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2014-11-06 17:20:13 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2014-11-06 17:20:13 +0000 |
commit | 2f21e1ba46762bceac682c433028627f6953ed50 (patch) | |
tree | 4999300131a9d6c5e23e1edd7447e5a3a181005a /gcc/hooks.h | |
parent | 11717c64bf8b17397a6267638833ae6fca606a07 (diff) | |
download | gcc-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.h')
-rw-r--r-- | gcc/hooks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/hooks.h b/gcc/hooks.h index 90b31fb..4006cad 100644 --- a/gcc/hooks.h +++ b/gcc/hooks.h @@ -71,6 +71,7 @@ extern void hook_void_constcharptr (const char *); extern void hook_void_rtx_insn_int (rtx_insn *, int); extern void hook_void_FILEptr_constcharptr (FILE *, const char *); extern bool hook_bool_FILEptr_rtx_false (FILE *, rtx); +extern void hook_void_rtx_tree (rtx, tree); extern void hook_void_tree (tree); extern void hook_void_tree_treeptr (tree, tree *); extern void hook_void_int_int (int, int); |