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 | 7d522f161d9cdd9c508b7c6b12ca22230a17d994 (patch) | |
tree | 2491de4c6c87d268a376ab8d5f349aabb704c29d /llvm/lib/Transforms | |
parent | 6dde3e1450557be43110271550af67b49d3d74f5 (diff) | |
download | bcm5719-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')
-rw-r--r-- | llvm/lib/Transforms/Utils/CloneFunction.cpp | 4 |
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)) { |