mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Remove assertion which is never reached.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8318 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,7 +94,6 @@ GetElementPtrInst::GetElementPtrInst(Value *Ptr, const std::vector<Value*> &Idx,
|
|||||||
: Instruction(PointerType::get(checkType(getIndexedType(Ptr->getType(),
|
: Instruction(PointerType::get(checkType(getIndexedType(Ptr->getType(),
|
||||||
Idx, true))),
|
Idx, true))),
|
||||||
GetElementPtr, Name, InBe) {
|
GetElementPtr, Name, InBe) {
|
||||||
assert(getIndexedType(Ptr->getType(), Idx, true) && "gep operands invalid!");
|
|
||||||
Operands.reserve(1+Idx.size());
|
Operands.reserve(1+Idx.size());
|
||||||
Operands.push_back(Use(Ptr, this));
|
Operands.push_back(Use(Ptr, this));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user