diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-20 15:54:41 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-20 15:54:41 +0000 |
commit | a05a80fc7ce5743e8bd6b2a312f169509c444af8 (patch) | |
tree | 1504ede87f8c3e471149f7013b2d309d4798b67a /gcc/builtins.c | |
parent | 1655dc9de3ca6e8ef09648bf8bc73600910643c5 (diff) | |
download | gcc-a05a80fc7ce5743e8bd6b2a312f169509c444af8.zip gcc-a05a80fc7ce5743e8bd6b2a312f169509c444af8.tar.gz gcc-a05a80fc7ce5743e8bd6b2a312f169509c444af8.tar.bz2 |
builtins.c (fold_builtin_1): Update a call to targetm.fold_builtin.
* builtins.c (fold_builtin_1): Update a call to
targetm.fold_builtin.
* hooks.c (hook_tree_tree_bool_null): Rename to
hook_tree_tree_tree_bool_null. Take one more argument of type
tree.
* hooks.h: Update the prototype of hook_tree_tree_bool_null.
* target-def.h (TARGET_FOLD_BUILTIN): Define it as
hook_tree_tree_tree_bool_null.
* target.h (gcc_target): Update the prototype of fold_builtin.
* config/alpha/alpha.c (alpha_fold_builtin): Take decomposed
arguments of CALL_EXPR.
* doc/tm.texi (TARGET_FOLD_BUILTIN): Update. Mention the
new prototype.
From-SVN: r96762
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 0f39ec3..a2b08f6 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -7947,7 +7947,7 @@ fold_builtin_1 (tree exp, bool ignore) enum built_in_function fcode; if (DECL_BUILT_IN_CLASS (fndecl) == BUILT_IN_MD) - return targetm.fold_builtin (exp, ignore); + return targetm.fold_builtin (fndecl, arglist, ignore); fcode = DECL_FUNCTION_CODE (fndecl); switch (fcode) |