Zap some dead code pointed out by Chandler.

llvm-svn: 153150
This commit is contained in:
Eric Christopher 2012-03-20 23:28:58 +00:00
parent 6dde3e1450
commit 7d522f161d
1 changed files with 0 additions and 4 deletions

View File

@ -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)) {