remove some dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-08-18 02:41:56 +00:00
parent 0d857cf8d1
commit 473fc96889
3 changed files with 4 additions and 15 deletions

View File

@ -275,12 +275,12 @@ public:
return I->second;
}
LatticeVal getStructLatticeValueFor(Value *V, unsigned i) const {
/*LatticeVal getStructLatticeValueFor(Value *V, unsigned i) const {
DenseMap<std::pair<Value*, unsigned>, LatticeVal>::const_iterator I =
StructValueState.find(std::make_pair(V, i));
assert(I != StructValueState.end() && "V is not in valuemap!");
return I->second;
}
}*/
/// getTrackedRetVals - Get the inferred return value map.
///
@ -518,7 +518,6 @@ private:
void visitUnwindInst (TerminatorInst &I) { /*returns void*/ }
void visitUnreachableInst(TerminatorInst &I) { /*returns void*/ }
void visitAllocaInst (Instruction &I) { markOverdefined(&I); }
void visitVANextInst (Instruction &I) { markOverdefined(&I); }
void visitVAArgInst (Instruction &I) { markAnythingOverdefined(&I); }
void visitInstruction(Instruction &I) {