summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetMachine
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
commitb6aa2334f495612b6c126074d4461bb3a3701470 (patch)
tree080f5aadb7998fdf9f01cdc3fb049d821b7ff778 /llvm/lib/CodeGen/TargetMachine
parent53bbf0783b898ebaa186523e13590c3be5b04d7d (diff)
downloadbcm5719-llvm-b6aa2334f495612b6c126074d4461bb3a3701470.tar.gz
bcm5719-llvm-b6aa2334f495612b6c126074d4461bb3a3701470.zip
I suck
llvm-svn: 385
Diffstat (limited to 'llvm/lib/CodeGen/TargetMachine')
-rw-r--r--llvm/lib/CodeGen/TargetMachine/TargetData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetMachine/TargetData.cpp b/llvm/lib/CodeGen/TargetMachine/TargetData.cpp
index 7ab0a6a2060..0d23206d991 100644
--- a/llvm/lib/CodeGen/TargetMachine/TargetData.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud