diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-06-19 23:45:30 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-06-19 17:45:30 -0600 |
commit | 767f5b145b2233c9ee5d4855a872f7e61fdee9ae (patch) | |
tree | fd4eacb7cb57d92b7fb32769dd7a90abbad292a9 /gcc/except.c | |
parent | 5a77b5f30e8856b764d6ef357db04e8167419cb1 (diff) | |
download | gcc-767f5b145b2233c9ee5d4855a872f7e61fdee9ae.zip gcc-767f5b145b2233c9ee5d4855a872f7e61fdee9ae.tar.gz gcc-767f5b145b2233c9ee5d4855a872f7e61fdee9ae.tar.bz2 |
except.c (jumpif_rtx): Put declaration and definition inside a suitable #ifdef.
* except.c (jumpif_rtx): Put declaration and definition
inside a suitable #ifdef.
(jumpifnot_rtx): Delete dead function.
From-SVN: r20626
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gcc/except.c b/gcc/except.c index 74f10304..63d6c82 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -503,8 +503,9 @@ static int can_throw PROTO((rtx)); static rtx scan_region PROTO((rtx, int, int *)); static void eh_regs PROTO((rtx *, rtx *, int)); static void set_insn_eh_region PROTO((rtx *, int)); +#ifdef DONT_USE_BUILTIN_SETJMP static void jumpif_rtx PROTO((rtx, rtx)); -static void jumpifnot_rtx PROTO((rtx, rtx)); +#endif rtx expand_builtin_return_addr PROTO((enum built_in_function, int, rtx)); @@ -1052,6 +1053,7 @@ get_dynamic_cleanup_chain () return gen_rtx_MEM (Pmode, result); } +#ifdef DONT_USE_BUILTIN_SETJMP /* Generate code to evaluate X and jump to LABEL if the value is nonzero. LABEL is an rtx of code CODE_LABEL, in this function. */ @@ -1062,17 +1064,7 @@ jumpif_rtx (x, label) { jumpif (make_tree (type_for_mode (GET_MODE (x), 0), x), label); } - -/* Generate code to evaluate X and jump to LABEL if the value is zero. - LABEL is an rtx of code CODE_LABEL, in this function. */ - -static void -jumpifnot_rtx (x, label) - rtx x; - rtx label; -{ - jumpifnot (make_tree (type_for_mode (GET_MODE (x), 0), x), label); -} +#endif /* Start a dynamic cleanup on the EH runtime dynamic cleanup stack. We just need to create an element for the cleanup list, and push it |