aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-03-10 02:20:00 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-03-10 02:20:00 +0000
commit9be3c97183f832d084bcf0fab82f7cd8aae08385 (patch)
tree902740a9c96315d137bfa799b78a7dc6586aad3e /lib/Transforms/Utils/CloneFunction.cpp
parentb8cafe3427a168414400e5dfcbea78996792d2c3 (diff)
downloadexternal_llvm-9be3c97183f832d084bcf0fab82f7cd8aae08385.zip
external_llvm-9be3c97183f832d084bcf0fab82f7cd8aae08385.tar.gz
external_llvm-9be3c97183f832d084bcf0fab82f7cd8aae08385.tar.bz2
Turn unwind_to into "unwinds to".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r--lib/Transforms/Utils/CloneFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp
index 5d0d1d8..976dda45 100644
--- a/lib/Transforms/Utils/CloneFunction.cpp
+++ b/lib/Transforms/Utils/CloneFunction.cpp
@@ -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]));