diff options
| author | Dan Gohman <gohman@apple.com> | 2008-05-15 19:50:34 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-05-15 19:50:34 +0000 |
| commit | 041e2eb51721bcfecee5d9c9fc409ff185526e47 (patch) | |
| tree | bb8e3b74ffb3950147e74e621ffa5e8f14040cd2 /lib/VMCore/Verifier.cpp | |
| parent | d208a803a614a0ce6d5a8c6df045fd130f5dfed7 (diff) | |
IR support for extractvalue and insertvalue instructions. Also, begin
moving toward making structs and arrays first-class types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Verifier.cpp')
| -rw-r--r-- | lib/VMCore/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 78158bea67..bfa2e6573f 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -1045,7 +1045,7 @@ void Verifier::visitGetElementPtrInst(GetElementPtrInst &GEP) { SmallVector<Value*, 16> Idxs(GEP.idx_begin(), GEP.idx_end()); const Type *ElTy = GetElementPtrInst::getIndexedType(GEP.getOperand(0)->getType(), - Idxs.begin(), Idxs.end(), true); + Idxs.begin(), Idxs.end()); Assert1(ElTy, "Invalid indices for GEP pointer type!", &GEP); Assert2(isa<PointerType>(GEP.getType()) && cast<PointerType>(GEP.getType())->getElementType() == ElTy, |
