diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2004-09-20 14:47:20 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-09-20 14:47:20 +0000 |
commit | c2dda19b3b1e6e53a807ef3446c6fd8a38be93e5 (patch) | |
tree | 16c237419acab4d9dc03318e2a6013538f78d3ee /gcc/targhooks.h | |
parent | bb9be5eb9c3c40851cf8db6d00ebe1ac4f04944b (diff) | |
download | gcc-c2dda19b3b1e6e53a807ef3446c6fd8a38be93e5.zip gcc-c2dda19b3b1e6e53a807ef3446c6fd8a38be93e5.tar.gz gcc-c2dda19b3b1e6e53a807ef3446c6fd8a38be93e5.tar.bz2 |
builtins.c (fold_builtin): Call the new omonymous target hook for machine-dependent built-ins.
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.
From-SVN: r87756
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 bbdfacd..4ff0ea3 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 |