mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +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:
@ -105,7 +105,7 @@ void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
|
||||
//
|
||||
for (Function::iterator BB = cast<BasicBlock>(ValueMap[OldFunc->begin()]),
|
||||
BE = NewFunc->end(); BB != BE; ++BB) {
|
||||
// Fix up the unwind_to label.
|
||||
// Fix up the unwind destination.
|
||||
if (BasicBlock *UnwindDest = BB->getUnwindDest())
|
||||
BB->setUnwindDest(cast<BasicBlock>(ValueMap[UnwindDest]));
|
||||
|
||||
|
Reference in New Issue
Block a user