diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 14:47:20 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 14:47:20 +0000 |
commit | b0160cb4a801854674765bc7f224fa818b30df0f (patch) | |
tree | 16c237419acab4d9dc03318e2a6013538f78d3ee /gcc/targhooks.h | |
parent | 003153a143b32d8cd6d6dd1c36be054238f64e75 (diff) | |
download | gcc-b0160cb4a801854674765bc7f224fa818b30df0f.tar.gz |
2004-09-20 Paolo Bonzini <bonzini@gnu.org>
* builtins.c (fold_builtin): Call the new omonymous
target hook for machine-dependent built-ins.
* target-def.h (TARGET_FOLD_BUILTIN): New.
* target.h (struct gcc_target): Add the fold_builtin hook.
* targhooks.c (default_fold_builtin): New.
* targhooks.h (default_fold_builtin): Declare it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87756 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r-- | gcc/targhooks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h index bbdfacdc0a5..4ff0ea36af8 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -29,6 +29,7 @@ extern rtx default_expand_builtin_saveregs (void); extern void default_setup_incoming_varargs (CUMULATIVE_ARGS *, enum machine_mode, tree, int *, int); extern rtx default_builtin_setjmp_frame_value (void); extern bool default_pretend_outgoing_varargs_named (CUMULATIVE_ARGS *); +extern tree default_fold_builtin (tree t, bool ignore); extern enum machine_mode default_eh_return_filter_mode (void); extern unsigned HOST_WIDE_INT default_shift_truncation_mask |