projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b23043d
)
Remove assertion which is never reached.
author
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 2 Sep 2003 06:45:34 +0000
(06:45 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 2 Sep 2003 06:45:34 +0000
(06:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8318
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/iMemory.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/iMemory.cpp
b/lib/VMCore/iMemory.cpp
index db9b9617a20bd3f2dd5e584fd44e514790bc4890..559c15efe12602739fac4ae2ed03b680bd766d9f 100644
(file)
--- 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));