mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Turn unwind_to into "unwinds to".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1829,7 +1829,7 @@ bool llvm::SimplifyCFG(BasicBlock *BB) {
|
||||
// Move all definitions in the successor to the predecessor.
|
||||
OnlyPred->getInstList().splice(OnlyPred->end(), BB->getInstList());
|
||||
|
||||
// Move the unwind_to block
|
||||
// Move the unwind destination block
|
||||
if (!OnlyPred->getUnwindDest() && BB->getUnwindDest())
|
||||
OnlyPred->setUnwindDest(BB->getUnwindDest());
|
||||
|
||||
|
Reference in New Issue
Block a user