diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2010-06-30 17:55:03 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2010-06-30 18:55:03 +0100 |
commit | 08914aaad9a660df1206cd985198ab213d7bb365 (patch) | |
tree | c1b6f59fc55785860048bb704ac81d7f5cb7c1b8 | |
parent | 07a5b2bc7791ed01de9000b1f3af59a9ee7dddd5 (diff) | |
download | gcc-08914aaad9a660df1206cd985198ab213d7bb365.zip gcc-08914aaad9a660df1206cd985198ab213d7bb365.tar.gz gcc-08914aaad9a660df1206cd985198ab213d7bb365.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 1 | ||||
-rw-r--r-- | gcc/doc/tm.texi.in | 3 | ||||
-rw-r--r-- | gcc/target.def | 5 |
4 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5950da..234acf8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 12eba30..f2261a1 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -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 diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index f41e144..aa5769b 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -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 diff --git a/gcc/target.def b/gcc/target.def index badc975..656ac65 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -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 |