Commit 4e6d1743 by Jan Hubicka Committed by Jan Hubicka

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
parent 6f85546f
2009-04-04 Jan Hubicka <jh@suse.cz>
* 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.
2009-04-04 Richard Guenther <rguenther@suse.de>
* tree-ssa.c (verify_ssa): With -O0 we do not need VOPs.
......
......@@ -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)
{
......
......@@ -97,6 +97,7 @@ extern struct eh_region *gen_eh_region_allowed (struct eh_region *, tree);
extern struct eh_region *gen_eh_region_must_not_throw (struct eh_region *);
extern int get_eh_region_number (struct eh_region *);
extern bool get_eh_region_may_contain_throw (struct eh_region *);
extern tree get_eh_region_no_tree_label (int);
extern tree get_eh_region_tree_label (struct eh_region *);
extern void set_eh_region_tree_label (struct eh_region *, tree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment