aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-08-27 18:54:45 +0000
committerChris Lattner <sabre@nondot.org>2001-08-27 18:54:45 +0000
commit9ff64a8c635d0212fd7c97564d384ec583e23f5d (patch)
tree5a6df17bb8e678a332b909339869b54976124741
parente7fb36030bbaa56bfa46a9d62f96f84863f75908 (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.cpp2
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;