aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-04-04 19:09:45 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2009-04-04 17:09:45 +0000
commit4e6d1743a1ecc5cf64ceaa7267494828c51383b4 (patch)
tree158293eb0d8b0ff007c7e3e9274ce328ad42d9c5 /gcc/except.c
parent6f85546f7c47327ca9f4599ea4c11180df915967 (diff)
downloadgcc-4e6d1743a1ecc5cf64ceaa7267494828c51383b4.zip
gcc-4e6d1743a1ecc5cf64ceaa7267494828c51383b4.tar.gz
gcc-4e6d1743a1ecc5cf64ceaa7267494828c51383b4.tar.bz2
except.c (remove_eh_handler): Make static.
* except.c (remove_eh_handler): Make static. (eh_region_must_not_throw_p): Kill. (expand_resx_expr): Assertize. (duplicate_eh_regions): Accept callback as parameter; comment. * except.h (duplicate_eh_regions): New function. (remap_decl_v): Kill. (copy_cfg_body): Update call of duplicate_eh_regions. From-SVN: r145542
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/except.c b/gcc/except.c
index c654aba..64be6af 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -525,6 +525,12 @@ get_eh_region_tree_label (struct eh_region *region)
return region->tree_label;
}
+tree
+get_eh_region_no_tree_label (int region)
+{
+ return VEC_index (eh_region, cfun->eh->region_array, region)->tree_label;
+}
+
void
set_eh_region_tree_label (struct eh_region *region, tree lab)
{