I suck


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@385 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/TargetMachine/TargetData.cpp b/lib/CodeGen/TargetMachine/TargetData.cpp
index 7ab0a6a..0d23206 100644
--- a/lib/CodeGen/TargetMachine/TargetData.cpp
+++ b/lib/CodeGen/TargetMachine/TargetData.cpp
@@ -146,7 +146,7 @@
 
 unsigned TargetData::getIndexedOffset(const Type *ptrTy,
 				      const vector<ConstPoolVal*> &Idx) const {
-  const PointerType *PtrTy = PtrTy->isPointerType();   // Returns null if not
+  const PointerType *PtrTy = ptrTy->isPointerType();   // Returns null if not
   assert(PtrTy && "getIndexedOffset on nonpointer!");
 
   unsigned Result = 0;