]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/xtensa/xtensa.cc
hooks.h (hook_tree_tree_tree_bool_null): Rename to...
authorNathan Froyd <froydnj@codesourcery.com>
Wed, 19 May 2010 16:23:27 +0000 (16:23 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Wed, 19 May 2010 16:23:27 +0000 (16:23 +0000)
commitf311c3b4a64ad8752904a0261a306bf191e5fcdc
treef15a40f5a1f4ab9b11dec139b4555f2ba5f385f7
parent40f1bdd962209529dff65187a9407656577b31b1
hooks.h (hook_tree_tree_tree_bool_null): Rename to...

* hooks.h (hook_tree_tree_tree_bool_null): Rename to...
(hook_tree_tree_int_treep_bool_null): ...this.  Update signature.
* hooks.c: Likewise.
* target-def.h (TARGET_FOLD_BUILTIN): Define to
hook_tree_tree_int_treep_bool_null.
* target.h: (struct gcc_target): Update signature of fold_builtin
field.
* doc/tm.texi (TARGET_FOLD_BUILTIN): Update description and signature.
* builtins.c (fold_call_expr): Pass call_expr_nargs and CALL_EXPR_ARGP
instead of the call expression.
(fold_builtin_call_array): Pass n and argarray directly.
(fold_call_stmt): Pass nargs and gimple_call_arg_ptr instead of
consing a list.
* config/alpha/alpha.c (alpha_fold_builtin): Update signature.  Lift
MAX_ARGS check out of the loop.  Delete declaration of `arity', declare
`i' and use it in place of `arity'.
* config/sparc/sparc.c (sparc_fold_builtin): Update signature.
Dereference `args' directly.
* config/xtensa/xtensa (xtensa_fold_builtin): Likewise.

From-SVN: r159585
gcc/ChangeLog
gcc/builtins.c
gcc/config/alpha/alpha.c
gcc/config/sparc/sparc.c
gcc/config/xtensa/xtensa.c
gcc/doc/tm.texi
gcc/hooks.c
gcc/hooks.h
gcc/target-def.h
gcc/target.h