Tidy up a bit more, fix tab and remove trailing whitespaces
[oota-llvm.git] / lib / Target / TargetData.cpp
index 5ef932ffc8c918bafcb8c38825b9d8d65107ddc2..1dfd9a83dafb3d4dbf1aeecfe5607992a81f8b33 100644 (file)
@@ -528,7 +528,7 @@ uint64_t TargetData::getIndexedOffset(Type *ptrTy,
   uint64_t Result = 0;
 
   generic_gep_type_iterator<Value* const*>
-    TI = gep_type_begin(ptrTy, Indices.begin(), Indices.end());
+    TI = gep_type_begin(ptrTy, Indices);
   for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX;
        ++CurIDX, ++TI) {
     if (StructType *STy = dyn_cast<StructType>(*TI)) {