diff options
author | Chris Lattner <sabre@nondot.org> | 2001-12-04 00:03:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-12-04 00:03:30 +0000 |
commit | 2413b160ecebcde87c4dbfc627f000d0b317d34a (patch) | |
tree | 7c034b4efd8ec6bb8256d427fa2900cdf701e75f /llvm/lib/Target/TargetData.cpp | |
parent | 3462ae3ad7944394d0e9b82be222a43a26ca289a (diff) | |
download | bcm5719-llvm-2413b160ecebcde87c4dbfc627f000d0b317d34a.tar.gz bcm5719-llvm-2413b160ecebcde87c4dbfc627f000d0b317d34a.zip |
Renamed inst_const_iterator -> const_inst_iterator
Renamed op_const_iterator -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
llvm-svn: 1408
Diffstat (limited to 'llvm/lib/Target/TargetData.cpp')
-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 b11ef0438ae..09bc6009dc8 100644 --- a/llvm/lib/Target/TargetData.cpp +++ b/llvm/lib/Target/TargetData.cpp @@ -151,7 +151,7 @@ unsigned TargetData::getIndexedOffset(const Type *ptrTy, unsigned Result = 0; // Get the type pointed to... - const Type *Ty = PtrTy->getValueType(); + const Type *Ty = PtrTy->getElementType(); for (unsigned CurIDX = 0; CurIDX < Idx.size(); ++CurIDX) { if (const StructType *STy = dyn_cast<const StructType>(Ty)) { |