forked from OSchip/llvm-project
Zap some dead code pointed out by Chandler.
llvm-svn: 153150
This commit is contained in:
parent
6dde3e1450
commit
7d522f161d
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue