diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-03-09 17:13:05 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-03-09 17:13:05 +0000 |
commit | 3c4a26226f30f2e9a022d155586e660af38aba1f (patch) | |
tree | 07c13220b326e724af286d4bd2de3a5a3bd20d08 /lib/Transforms/IPO/PruneEH.cpp | |
parent | f336983bbcdc21fba7dcc02f4f6cfc06341b1e6d (diff) | |
download | llvm-3c4a26226f30f2e9a022d155586e660af38aba1f.tar.gz llvm-3c4a26226f30f2e9a022d155586e660af38aba1f.tar.bz2 llvm-3c4a26226f30f2e9a022d155586e660af38aba1f.tar.xz |
And again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/PruneEH.cpp')
-rw-r--r-- | lib/Transforms/IPO/PruneEH.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/PruneEH.cpp b/lib/Transforms/IPO/PruneEH.cpp index 9f9c2260af..ec0558e80a 100644 --- a/lib/Transforms/IPO/PruneEH.cpp +++ b/lib/Transforms/IPO/PruneEH.cpp @@ -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. |