diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-16 18:42:29 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-16 18:42:29 +0000 |
commit | 6d546519a670f4c6efd665659556537c824e7202 (patch) | |
tree | 74d1f368531306bb5ffca00395613c6954e77bd3 /gcc/except.c | |
parent | ee8f5f57f33bda74fb970ce5e42edfe71cc97051 (diff) | |
download | gcc-6d546519a670f4c6efd665659556537c824e7202.tar.gz |
* except.c (eh_region_outer_p): Remove.
* except.h: Remove the prototype for eh_region_outer_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146210 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/except.c b/gcc/except.c index 37bc5bbf13c..ac3fd6f2742 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -1224,32 +1224,6 @@ duplicate_eh_regions (struct function *ifun, duplicate_eh_regions_map map, return eh_offset; } -/* Return true if REGION_A is outer to REGION_B in IFUN. */ - -bool -eh_region_outer_p (struct function *ifun, int region_a, int region_b) -{ - struct eh_region *rp_a, *rp_b; - - gcc_assert (ifun->eh->last_region_number > 0); - gcc_assert (ifun->eh->region_tree); - - rp_a = VEC_index (eh_region, ifun->eh->region_array, region_a); - rp_b = VEC_index (eh_region, ifun->eh->region_array, region_b); - gcc_assert (rp_a != NULL); - gcc_assert (rp_b != NULL); - - do - { - if (rp_a == rp_b) - return true; - rp_b = rp_b->outer; - } - while (rp_b); - - return false; -} - /* Return region number of region that is outer to both if REGION_A and REGION_B in IFUN. */ |