diff options
author | Chris Lattner <sabre@nondot.org> | 2001-08-27 18:54:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-08-27 18:54:45 +0000 |
commit | 9ff64a8c635d0212fd7c97564d384ec583e23f5d (patch) | |
tree | 5a6df17bb8e678a332b909339869b54976124741 | |
parent | e7fb36030bbaa56bfa46a9d62f96f84863f75908 (diff) |
I suck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@385 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/TargetMachine/TargetData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetMachine/TargetData.cpp b/lib/CodeGen/TargetMachine/TargetData.cpp index 7ab0a6a206..0d23206d99 100644 --- a/lib/CodeGen/TargetMachine/TargetData.cpp +++ b/lib/CodeGen/TargetMachine/TargetData.cpp @@ -146,7 +146,7 @@ unsigned char TargetData::getTypeAlignment(const Type *Ty) const { 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; |