diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-12-15 00:35:48 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-12-15 00:35:48 +0000 |
commit | 721fee255cb181bbe5152fe189e78274a7e388e8 (patch) | |
tree | a099e3c881e951c9bbb620234d8d30fe24dad297 /llvm/lib/Target | |
parent | 8234b04143f13fba33103f7a5e6dffe5545da04a (diff) | |
download | bcm5719-llvm-721fee255cb181bbe5152fe189e78274a7e388e8.tar.gz bcm5719-llvm-721fee255cb181bbe5152fe189e78274a7e388e8.zip |
getIndexedOffset() shd take vector of Values, not of Constants!
llvm-svn: 1484
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/TargetData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp index a2383d12a2a..b290f29b856 100644 --- a/llvm/lib/Target/TargetData.cpp +++ b/llvm/lib/Target/TargetData.cpp @@ -146,7 +146,7 @@ unsigned char TargetData::getTypeAlignment(const Type *Ty) const { } unsigned TargetData::getIndexedOffset(const Type *ptrTy, - const vector<Constant*> &Idx) const { + const vector<Value*> &Idx) const { const PointerType *PtrTy = cast<const PointerType>(ptrTy); unsigned Result = 0; |