Commit dbd680e1 by Jason Merrill Committed by Jason Merrill

except.c (add_partial_entry): Remove backwards compatibility code.

        * except.c (add_partial_entry): Remove backwards compatibility code.
        (end_protect_partials): Likewise.

From-SVN: r48951
parent cdd2559c
2002-01-17 Jason Merrill <jason@redhat.com>
* except.c (add_partial_entry): Remove backwards compatibility code.
(end_protect_partials): Likewise.
2002-01-17 Jakub Jelinek <jakub@redhat.com>
* config/ia64/ia64.md (prologue_use): New.
......
......@@ -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);
......
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