mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
And again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f336983bbc
commit
3c4a26226f
@ -206,9 +206,10 @@ 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.
|
||||
if (!couldUnwind && BB->getUnwindDest()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user