target.def (fold_builtin): Rename nargs to n_args.

* target.def (fold_builtin): Rename nargs to n_args.  Use DEFHOOK.
	* doc/tm.texi.in (TARGET_FOLD_BUILTIN): Use @hook.
	* doc/tm.texi: Regenerate.

From-SVN: r161622
This commit is contained in:
Joern Rennecke 2010-06-30 17:55:03 +00:00 committed by Joern Rennecke
parent 07a5b2bc77
commit 08914aaad9
4 changed files with 7 additions and 6 deletions

View File

@ -15,6 +15,10 @@
Rename ptype to ptree.
* doc/tm.texi: Regenerate.
* target.def (fold_builtin): Rename nargs to n_args. Use DEFHOOK.
* doc/tm.texi.in (TARGET_FOLD_BUILTIN): Use @hook.
* doc/tm.texi: Regenerate.
2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
* toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations

View File

@ -10805,7 +10805,6 @@ another @code{CALL_EXPR}.
@end deftypefn
@deftypefn {Target Hook} tree TARGET_FOLD_BUILTIN (tree @var{fndecl}, int @var{n_args}, tree *@var{argp}, bool @var{ignore})
Fold a call to a machine specific built-in function that was set up by
@samp{TARGET_INIT_BUILTINS}. @var{fndecl} is the declaration of the
built-in function. @var{n_args} is the number of arguments passed to

View File

@ -10795,8 +10795,7 @@ another @code{CALL_EXPR}.
@var{arglist} really has type @samp{VEC(tree,gc)*}
@end deftypefn
@deftypefn {Target Hook} tree TARGET_FOLD_BUILTIN (tree @var{fndecl}, int @var{n_args}, tree *@var{argp}, bool @var{ignore})
@hook TARGET_FOLD_BUILTIN
Fold a call to a machine specific built-in function that was set up by
@samp{TARGET_INIT_BUILTINS}. @var{fndecl} is the declaration of the
built-in function. @var{n_args} is the number of arguments passed to

View File

@ -1038,11 +1038,10 @@ DEFHOOK_UNDOC
tree, (unsigned int /*location_t*/ loc, tree fndecl, void *params), NULL)
/* Fold a target-specific builtin. */
/* ??? The documentation uses a different name for nargs. */
DEFHOOK_UNDOC
DEFHOOK
(fold_builtin,
"",
tree, (tree fndecl, int nargs, tree *argp, bool ignore),
tree, (tree fndecl, int n_args, tree *argp, bool ignore),
hook_tree_tree_int_treep_bool_null)
/* Returns a code for a target-specific builtin that implements