Commit 60845126 by Richard Henderson

Revert accidental commit.

From-SVN: r98632
parent 6800ea5c
...@@ -1920,12 +1920,7 @@ tree_could_throw_p (tree t) ...@@ -1920,12 +1920,7 @@ tree_could_throw_p (tree t)
bool bool
tree_can_throw_internal (tree stmt) tree_can_throw_internal (tree stmt)
{ {
int region_nr; int region_nr = lookup_stmt_eh_region (stmt);
if (TREE_CODE (stmt) == RESX_EXPR)
region_nr = TREE_INT_CST_LOW (TREE_OPERAND (stmt, 0));
else
region_nr = lookup_stmt_eh_region (stmt);
if (region_nr < 0) if (region_nr < 0)
return false; return false;
return can_throw_internal_1 (region_nr); return can_throw_internal_1 (region_nr);
...@@ -1936,9 +1931,8 @@ tree_can_throw_external (tree stmt) ...@@ -1936,9 +1931,8 @@ tree_can_throw_external (tree stmt)
{ {
int region_nr = lookup_stmt_eh_region (stmt); int region_nr = lookup_stmt_eh_region (stmt);
if (region_nr < 0) if (region_nr < 0)
return tree_could_throw_p (stmt); return false;
else return can_throw_external_1 (region_nr);
return can_throw_external_1 (region_nr);
} }
bool bool
......
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