From: Eric Christopher Date: Tue, 20 Mar 2012 23:28:58 +0000 (+0000) Subject: Zap some dead code pointed out by Chandler. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b7febfbafae97bce00bd239d34e91b9997a5338d;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index 93125df1460..1b28c35238e 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(I)) {