aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-04-16 22:57:50 +0000
committerJeff Law <law@gcc.gnu.org>1998-04-16 16:57:50 -0600
commit242c13b000c85528a7bc8db97ad9a1bc325ce022 (patch)
tree39818443f85a5e9bf37760f29433bdab6032e0e6 /gcc/except.c
parent1ad4f46be6e110470125bb53ad87661afe776fbe (diff)
downloadgcc-242c13b000c85528a7bc8db97ad9a1bc325ce022.zip
gcc-242c13b000c85528a7bc8db97ad9a1bc325ce022.tar.gz
gcc-242c13b000c85528a7bc8db97ad9a1bc325ce022.tar.bz2
except.c (push_eh_entry): Add prototype.
* except.c (push_eh_entry): Add prototype. (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise. (call_get_eh_context, start_dynamic_cleanup): Likewise. (start_dynamic_handler, can_throw): Likewise. (output_exception_table_entry, scan_region): Likewise. (eh_regs, set_insn_eh_region): Likewise. Also fix typo in previous dwarfout change. From-SVN: r19249
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 1b4c411..a434b27 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -482,9 +482,21 @@ struct label_node *outer_context_label_stack = NULL;
struct label_node *false_label_stack = NULL;
-rtx expand_builtin_return_addr PROTO((enum built_in_function, int, rtx));
+static void push_eh_entry PROTO((struct eh_stack *));
+static struct eh_entry * pop_eh_entry PROTO((struct eh_stack *));
+static void enqueue_eh_entry PROTO((struct eh_queue *, struct eh_entry *));
+static struct eh_entry * dequeue_eh_entry PROTO((struct eh_queue *));
+static rtx call_get_eh_context PROTO((void));
+static void start_dynamic_cleanup PROTO((tree, tree));
+static void start_dynamic_handler PROTO((void));
static void expand_rethrow PROTO((rtx));
+static void output_exception_table_entry PROTO((FILE *, int));
+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));
+rtx expand_builtin_return_addr PROTO((enum built_in_function, int, rtx));
/* Various support routines to manipulate the various data structures
used by the exception handling code. */
@@ -2170,7 +2182,8 @@ expand_builtin_set_eh_regs (handler, offset)
static int *insn_eh_region = (int *)0;
static int maximum_uid;
-static void set_insn_eh_region (first, region_num)
+static void
+set_insn_eh_region (first, region_num)
rtx *first;
int region_num;
{