summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-20 15:54:41 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-20 15:54:41 +0000
commit0ab8af67b59232e33c0a0b399222f68dd9134b10 (patch)
tree1504ede87f8c3e471149f7013b2d309d4798b67a /gcc/target.h
parent113a8828735449dffb3f9e2dbac00ae4235b68d2 (diff)
downloadgcc-0ab8af67b59232e33c0a0b399222f68dd9134b10.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96762 138bc75d-0d04-0410-961f-82ee72b054a4
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 35135501b16..152cb7d3584 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