OSDN Git Service

Revert accidental commit.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Apr 2005 21:26:26 +0000 (21:26 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Apr 2005 21:26:26 +0000 (21:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98632 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/tree-eh.c

index bfac6bc..90f9061 100644 (file)
@@ -1920,12 +1920,7 @@ tree_could_throw_p (tree t)
 bool
 tree_can_throw_internal (tree stmt)
 {
-  int region_nr;
-
-  if (TREE_CODE (stmt) == RESX_EXPR)
-    region_nr = TREE_INT_CST_LOW (TREE_OPERAND (stmt, 0));
-  else
-    region_nr = lookup_stmt_eh_region (stmt);
+  int region_nr = lookup_stmt_eh_region (stmt);
   if (region_nr < 0)
     return false;
   return can_throw_internal_1 (region_nr);
@@ -1936,9 +1931,8 @@ tree_can_throw_external (tree stmt)
 {
   int region_nr = lookup_stmt_eh_region (stmt);
   if (region_nr < 0)
-    return tree_could_throw_p (stmt);
-  else
-    return can_throw_external_1 (region_nr);
+    return false;
+  return can_throw_external_1 (region_nr);
 }
 
 bool