OSDN Git Service

And again.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 9 Mar 2008 17:13:05 +0000 (17:13 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 9 Mar 2008 17:13:05 +0000 (17:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48112 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/PruneEH.cpp

index 9f9c226..ec0558e 100644 (file)
@@ -206,8 +206,9 @@ bool PruneEH::SimplifyFunction(Function *F) {
           MadeChange = true;
           ++NumUnreach;
           break;
-        } else if (!CI->doesNotThrow())
+        } else if (!CI->doesNotThrow()) {
           couldUnwind = true;
+        }
       }
 
     // Strip 'unwindTo' off of BBs that have no calls/invokes without nounwind.