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

Brian Gaeke gaeke at cs.uiuc.edu
Tue Sep 2 01:46:01 PDT 2003


Changes in directory llvm/lib/VMCore:

iMemory.cpp updated: 1.29 -> 1.30

---
Log message:

Remove assertion which is never reached.


---
Diffs of the changes:

Index: llvm/lib/VMCore/iMemory.cpp
diff -u llvm/lib/VMCore/iMemory.cpp:1.29 llvm/lib/VMCore/iMemory.cpp:1.30
--- llvm/lib/VMCore/iMemory.cpp:1.29	Tue Jan 14 16:19:44 2003
+++ llvm/lib/VMCore/iMemory.cpp	Tue Sep  2 01:45:34 2003
@@ -94,7 +94,6 @@
   : Instruction(PointerType::get(checkType(getIndexedType(Ptr->getType(),
                                                             Idx, true))),
 		  GetElementPtr, Name, InBe) {
-  assert(getIndexedType(Ptr->getType(), Idx, true) && "gep operands invalid!");
   Operands.reserve(1+Idx.size());
   Operands.push_back(Use(Ptr, this));
 





More information about the llvm-commits mailing list