aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-09-02 06:45:34 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-09-02 06:45:34 +0000
commit714a3a6cb51d5156c9d83aff9f6e1fb687c2d1ae (patch)
tree1300f2fa0039e851033c0207d9ad55110f9bd32d
parentb23043dc8e2146e79e73b6503059b88916b6b8bb (diff)
downloadexternal_llvm-714a3a6cb51d5156c9d83aff9f6e1fb687c2d1ae.zip
external_llvm-714a3a6cb51d5156c9d83aff9f6e1fb687c2d1ae.tar.gz
external_llvm-714a3a6cb51d5156c9d83aff9f6e1fb687c2d1ae.tar.bz2
Remove assertion which is never reached.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8318 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/iMemory.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/VMCore/iMemory.cpp b/lib/VMCore/iMemory.cpp
index db9b961..559c15e 100644
--- a/lib/VMCore/iMemory.cpp
+++ b/lib/VMCore/iMemory.cpp
@@ -94,7 +94,6 @@ GetElementPtrInst::GetElementPtrInst(Value *Ptr, const std::vector<Value*> &Idx,
: 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));