diff options
author | Eric Christopher <echristo@apple.com> | 2012-03-20 23:28:58 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-03-20 23:28:58 +0000 |
commit | b7febfbafae97bce00bd239d34e91b9997a5338d (patch) | |
tree | 352246a0c32eb6dc4351b17c360d1ff8fb1ce3ec | |
parent | 4211c196d48a16748158452db918403f30088266 (diff) | |
download | external_llvm-b7febfbafae97bce00bd239d34e91b9997a5338d.zip external_llvm-b7febfbafae97bce00bd239d34e91b9997a5338d.tar.gz external_llvm-b7febfbafae97bce00bd239d34e91b9997a5338d.tar.bz2 |
Zap some dead code pointed out by Chandler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153150 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Utils/CloneFunction.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index 93125df..1b28c35 100644 --- a/lib/Transforms/Utils/CloneFunction.cpp +++ b/lib/Transforms/Utils/CloneFunction.cpp @@ -424,10 +424,6 @@ void llvm::CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc, // BasicBlock::iterator I = NewBB->begin(); - DebugLoc TheCallDL; - if (TheCall) - TheCallDL = TheCall->getDebugLoc(); - // Handle PHI nodes specially, as we have to remove references to dead // blocks. if (PHINode *PN = dyn_cast<PHINode>(I)) { |