And again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2008-03-09 17:13:05 +00:00
parent f336983bbc
commit 3c4a26226f

View 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.