diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-04 12:31:26 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-04 12:31:26 +0000 |
commit | bf6102ae18353af8e717f549a58acd2a2ab46285 (patch) | |
tree | e04c020e220e3d0c79856e9ab76432e2e9ba87ed /gcc/except.h | |
parent | e6bbfb8c93df7b4643ebe84f42e91b0cf074ea62 (diff) | |
download | gcc-bf6102ae18353af8e717f549a58acd2a2ab46285.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82622 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.h')
-rw-r--r-- | gcc/except.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/except.h b/gcc/except.h index 2fed79f30fb..4c596a9df11 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); |