mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
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
This commit is contained in:
parent
4211c196d4
commit
b7febfbafa
@ -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…
x
Reference in New Issue
Block a user