aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-20 15:54:41 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-20 15:54:41 +0000
commita05a80fc7ce5743e8bd6b2a312f169509c444af8 (patch)
tree1504ede87f8c3e471149f7013b2d309d4798b67a /gcc/hooks.c
parent1655dc9de3ca6e8ef09648bf8bc73600910643c5 (diff)
downloadgcc-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/hooks.c')
-rw-r--r--gcc/hooks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 471901f..274d427a 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -243,7 +243,8 @@ hook_constcharptr_tree_null (tree t ATTRIBUTE_UNUSED)
}
tree
-hook_tree_tree_bool_null (tree t ATTRIBUTE_UNUSED, bool ignore ATTRIBUTE_UNUSED)
+hook_tree_tree_tree_bool_null (tree t0 ATTRIBUTE_UNUSED, tree t1 ATTRIBUTE_UNUSED,
+ bool ignore ATTRIBUTE_UNUSED)
{
return NULL;
}