summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-03-20 23:28:58 +0000
committerEric Christopher <echristo@apple.com>2012-03-20 23:28:58 +0000
commit7d522f161d9cdd9c508b7c6b12ca22230a17d994 (patch)
tree2491de4c6c87d268a376ab8d5f349aabb704c29d /llvm/lib/Transforms/Utils
parent6dde3e1450557be43110271550af67b49d3d74f5 (diff)
downloadbcm5719-llvm-7d522f161d9cdd9c508b7c6b12ca22230a17d994.tar.gz
bcm5719-llvm-7d522f161d9cdd9c508b7c6b12ca22230a17d994.zip
Zap some dead code pointed out by Chandler.
llvm-svn: 153150
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 93125df1460..1b28c35238e 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/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)) {
OpenPOWER on IntegriCloud