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 | 8055f7781b0430973392a8ddf54142afb9bcdd3d (patch) | |
tree | bb8e3b74ffb3950147e74e621ffa5e8f14040cd2 /lib/VMCore/Verifier.cpp | |
parent | 7fcd440412730ab1a380d723a418856e4226d9e8 (diff) | |
download | external_llvm-8055f7781b0430973392a8ddf54142afb9bcdd3d.zip external_llvm-8055f7781b0430973392a8ddf54142afb9bcdd3d.tar.gz external_llvm-8055f7781b0430973392a8ddf54142afb9bcdd3d.tar.bz2 |
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 78158be..bfa2e65 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, |