remove dead var

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28287 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-05-14 18:34:36 +00:00
parent 36a169e1a3
commit ff8953ae6d
2 changed files with 1 additions and 2 deletions

View File

@ -667,7 +667,7 @@ StoreInst::StoreInst(Value *val, Value *addr, bool isVolatile,
// message on bad indexes for a gep instruction.
//
static inline const Type *checkType(const Type *Ty) {
assert(Ty && "Invalid indices for type!");
assert(Ty && "Invalid GetElementPtrInst indices for type!");
return Ty;
}

View File

@ -693,7 +693,6 @@ void Verifier::visitInstruction(Instruction &I) {
///
void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
Function *IF = CI.getCalledFunction();
const FunctionType *FTy = IF->getFunctionType();
Assert1(IF->isExternal(), "Intrinsic functions should never be defined!", IF);
#define GET_INTRINSIC_VERIFIER