[llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp Verifier.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun May 14 11:34:49 PDT 2006



Changes in directory llvm/lib/VMCore:

Instructions.cpp updated: 1.37 -> 1.38
Verifier.cpp updated: 1.154 -> 1.155
---
Log message:

remove dead var


---
Diffs of the changes:  (+1 -2)

 Instructions.cpp |    2 +-
 Verifier.cpp     |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/lib/VMCore/Instructions.cpp
diff -u llvm/lib/VMCore/Instructions.cpp:1.37 llvm/lib/VMCore/Instructions.cpp:1.38
--- llvm/lib/VMCore/Instructions.cpp:1.37	Tue May  9 23:32:43 2006
+++ llvm/lib/VMCore/Instructions.cpp	Sun May 14 13:34:36 2006
@@ -667,7 +667,7 @@
 // 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: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.154 llvm/lib/VMCore/Verifier.cpp:1.155
--- llvm/lib/VMCore/Verifier.cpp:1.154	Fri Apr  7 23:07:52 2006
+++ llvm/lib/VMCore/Verifier.cpp	Sun May 14 13:34:36 2006
@@ -693,7 +693,6 @@
 ///
 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






More information about the llvm-commits mailing list