remove dead var
authorChris Lattner <sabre@nondot.org>
Sun, 14 May 2006 18:34:36 +0000 (18:34 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 May 2006 18:34:36 +0000 (18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28287 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Instructions.cpp
lib/VMCore/Verifier.cpp

index 929e1409281e42ba9e258e0d5321f83675415d44..ea1008b3767786a9f5ed080654fae923dcc35b65 100644 (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;
 }
 
index 70c6a4c8e9aa0914e003f2328187a7dc4e6c6fc5..0814f69d01d1185e47c4dfea255c240dc8355eae 100644 (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