summaryrefslogtreecommitdiffstats
path: root/gcc/except.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-04 09:41:38 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-04 09:41:38 +0000
commit23ceb7b213c83177de7ebc9e593a91529d2066ad (patch)
tree952b95458e119610c40fb72e6d852f3a40843ba5 /gcc/except.h
parent639bdbf65ea3f0bed4f4b5f9760720101cbcc0e9 (diff)
downloadppe42-gcc-23ceb7b213c83177de7ebc9e593a91529d2066ad.tar.gz
ppe42-gcc-23ceb7b213c83177de7ebc9e593a91529d2066ad.zip
./: * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
* except.c: Lose outer_context_label_stack. (expand_eh_region_end): Rethrow from outer_context here. (expand_fixup_region_end): Let expand_eh_region_end do the rethrow. (expand_internal_throw): Take no args. (expand_internal_throw_indirect): Lose. (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow. (expand_start_all_catch): Start a rethrow region. (expand_end_all_catch): End it. (expand_rethrow): New fn. * except.h: Reflect above changes. cp/: * except.c (expand_end_catch_block): Lose rethrow region. (expand_start_catch_block): Likewise. (expand_end_catch_block): Don't expand_leftover_cleanups. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/except.h b/gcc/except.h
index ac46fa4478f..172bac4d904 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -192,10 +192,9 @@ extern void add_partial_entry PROTO((tree handler));
extern void end_protect_partials PROTO((void));
-/* An internal throw with a direct CONTEXT we want to throw
- from. CONTEXT must be a label. */
+/* An internal throw. */
-extern void expand_internal_throw PROTO((rtx context));
+extern void expand_internal_throw PROTO((void));
/* Called from expand_exception_blocks and expand_end_catch_block to
expand and pending handlers. */
@@ -227,11 +226,6 @@ extern void check_exception_handler_labels PROTO((void));
extern struct label_node *caught_return_label_stack;
-/* Keeps track of the label used as the context of a throw to rethrow an
- exception to the outer exception region. */
-
-extern struct label_node *outer_context_label_stack;
-
/* A random area used for purposes elsewhere. */
extern struct label_node *false_label_stack;
OpenPOWER on IntegriCloud