diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-17 14:21:54 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-17 14:21:54 +0000 |
commit | 425f2cace81fbd4c960350d55ef9145393c48d1a (patch) | |
tree | b24da109221f32fd696edd4e9ba6a3f4797a37aa /gcc/except.c | |
parent | 7e3e1bb950d2cfefec3aeaf32b5fb6e097754321 (diff) | |
download | gcc-425f2cace81fbd4c960350d55ef9145393c48d1a.tar.gz |
* except.c (add_partial_entry): Remove backwards compatibility code.
(end_protect_partials): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48951 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/except.c b/gcc/except.c index 2ce69f2c05d..606c0e64267 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -1037,14 +1037,6 @@ add_partial_entry (handler) { expand_eh_region_start (); - /* ??? This comment was old before the most recent rewrite. We - really ought to fix the callers at some point. */ - /* For backwards compatibility, we allow callers to omit calls to - begin_protect_partials for the outermost region. So, we must - explicitly do so here. */ - if (!cfun->eh->protect_list) - begin_protect_partials (); - /* Add this entry to the front of the list. */ TREE_VALUE (cfun->eh->protect_list) = tree_cons (NULL_TREE, handler, TREE_VALUE (cfun->eh->protect_list)); @@ -1057,14 +1049,6 @@ end_protect_partials () { tree t; - /* ??? This comment was old before the most recent rewrite. We - really ought to fix the callers at some point. */ - /* For backwards compatibility, we allow callers to omit the call to - begin_protect_partials for the outermost region. So, - PROTECT_LIST may be NULL. */ - if (!cfun->eh->protect_list) - return; - /* Pop the topmost entry. */ t = TREE_VALUE (cfun->eh->protect_list); cfun->eh->protect_list = TREE_CHAIN (cfun->eh->protect_list); |