aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
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/target.h
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/target.h')
-rw-r--r--gcc/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 3513550..152cb7d 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -344,7 +344,7 @@ struct gcc_target
enum machine_mode mode, int ignore);
/* Fold a target-specific builtin. */
- tree (* fold_builtin) (tree exp, bool ignore);
+ tree (* fold_builtin) (tree fndecl, tree arglist, bool ignore);
/* For a vendor-specific fundamental TYPE, return a pointer to
a statically-allocated string containing the C++ mangling for