diff options
| author | Jay Foad <jay.foad@gmail.com> | 2011-04-13 15:22:40 +0000 |
|---|---|---|
| committer | Jay Foad <jay.foad@gmail.com> | 2011-04-13 15:22:40 +0000 |
| commit | 0091fe8ca18b96418bf7c0c3ea946beccd7559ce (patch) | |
| tree | 54f6360aa813c2950170ccce5df333b30cd18a2a /llvm/lib/Analysis/Lint.cpp | |
| parent | cda53febec45bfea2c71bc38bc472ce9f38dd225 (diff) | |
| download | bcm5719-llvm-0091fe8ca18b96418bf7c0c3ea946beccd7559ce.tar.gz bcm5719-llvm-0091fe8ca18b96418bf7c0c3ea946beccd7559ce.zip | |
PR9214: Convert ConstantExpr::getIndices() to return an ArrayRef, plus
related tweaks to ExprMapKeyType.
llvm-svn: 129443
Diffstat (limited to 'llvm/lib/Analysis/Lint.cpp')
| -rw-r--r-- | llvm/lib/Analysis/Lint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/Lint.cpp b/llvm/lib/Analysis/Lint.cpp index fc7edc0525f..f130f30c49d 100644 --- a/llvm/lib/Analysis/Lint.cpp +++ b/llvm/lib/Analysis/Lint.cpp @@ -606,7 +606,7 @@ Value *Lint::findValueImpl(Value *V, bool OffsetOk, Type::getInt64Ty(V->getContext()))) return findValueImpl(CE->getOperand(0), OffsetOk, Visited); } else if (CE->getOpcode() == Instruction::ExtractValue) { - const SmallVector<unsigned, 4> &Indices = CE->getIndices(); + ArrayRef<unsigned> Indices = CE->getIndices(); if (Value *W = FindInsertedValue(CE->getOperand(0), Indices.begin(), Indices.end())) |

