aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-03-02 22:32:27 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-03-02 22:32:27 +0000
commitd6da68b9d4dec53bfd5d0ac6b80847cbc65eb806 (patch)
tree4a224f62d0f48c8459cf8809eaf8a6da465f0ca9 /gcc/targhooks.c
parent59564c5e9a60e8d19a594020f329c3f71bcc0262 (diff)
downloadgcc-d6da68b9d4dec53bfd5d0ac6b80847cbc65eb806.zip
gcc-d6da68b9d4dec53bfd5d0ac6b80847cbc65eb806.tar.gz
gcc-d6da68b9d4dec53bfd5d0ac6b80847cbc65eb806.tar.bz2
builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove.
* builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove. (expand_builtin_setjmp_setup): Use targetm.builtin_setjmp_frame_value instead of BUILTIN_SETJMP_FRAME_VALUE. * system.h (BUILTIN_SETJMP_FRAME_VALUE): Poison. * target-def.h (TARGET_BUILTIN_SETJMP_FRAME_VALUE): New. (TARGET_INITIALIZER): Add TARGET_BUILTIN_SETJMP_FRAME_VALUE. * target.h (gcc_target): Add builtin_setjmp_frame_value. * targhooks.c (default_builtin_setjmp_frame_value): New. * targhooks.h: Add a prototype for default_builtin_setjmp_frame_value. * doc/tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Change to TARGET_BUILTIN_SETJMP_FRAME_VALUE. From-SVN: r78789
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r--gcc/targhooks.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 03735a6..c93a1a8 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -105,6 +105,14 @@ default_setup_incoming_varargs (CUMULATIVE_ARGS *ca ATTRIBUTE_UNUSED,
{
}
+/* The default implementation of TARGET_BUILTIN_SETJMP_FRAME_VALUE. */
+
+rtx
+default_builtin_setjmp_frame_value (void)
+{
+ return virtual_stack_vars_rtx;
+}
+
/* Generic hook that takes a CUMULATIVE_ARGS pointer and returns true. */
bool