summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Verifier.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-15 19:50:34 +0000
committerDan Gohman <gohman@apple.com>2008-05-15 19:50:34 +0000
commit12fce7751b37c4f4cf3668342a568afe98fa7d87 (patch)
treef36fa2fa040a8ee15b616670933e3b0014ce1698 /llvm/lib/VMCore/Verifier.cpp
parentf52c8044eacdd51c88ccbced7ab9f47d2f6f3537 (diff)
downloadbcm5719-llvm-12fce7751b37c4f4cf3668342a568afe98fa7d87.tar.gz
bcm5719-llvm-12fce7751b37c4f4cf3668342a568afe98fa7d87.zip
IR support for extractvalue and insertvalue instructions. Also, begin
moving toward making structs and arrays first-class types. llvm-svn: 51157
Diffstat (limited to 'llvm/lib/VMCore/Verifier.cpp')
-rw-r--r--llvm/lib/VMCore/Verifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp
index 78158bea67e..bfa2e6573f2 100644
--- a/llvm/lib/VMCore/Verifier.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud