aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-06-04 12:31:26 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-06-04 12:31:26 +0000
commitf698d2175aa01ae5be342ac6ea6d09366b8b36a4 (patch)
treee04c020e220e3d0c79856e9ab76432e2e9ba87ed /gcc/except.h
parent72fab006113a72f011e261cb291602195726f7d5 (diff)
downloadgcc-f698d2175aa01ae5be342ac6ea6d09366b8b36a4.zip
gcc-f698d2175aa01ae5be342ac6ea6d09366b8b36a4.tar.gz
gcc-f698d2175aa01ae5be342ac6ea6d09366b8b36a4.tar.bz2
except.c (for_each_eh_region): New function.
* except.c (for_each_eh_region): New function. * except.h (for_each_eh_region): Add a prototype for it. * tree-cfg.c (update_eh_labels): New function, callback for for_each_eh_region. (label_for_bb): Make global static, unfortunately. (cleanup_dead_labels): Also update label references for exception regions. From-SVN: r82622
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/except.h b/gcc/except.h
index 2fed79f..4c596a9 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -90,6 +90,9 @@ extern void note_current_region_may_contain_throw (void);
loop hackery; should not be used by new code. */
extern void for_each_eh_label (void (*) (rtx));
+/* Invokes CALLBACK for every exception region in the current function. */
+extern void for_each_eh_region (void (*) (struct eh_region *));
+
/* Determine if the given INSN can throw an exception. */
extern bool can_throw_internal_1 (int);
extern bool can_throw_internal (rtx);