projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7fb360
)
I suck
author
Chris Lattner
<sabre@nondot.org>
Mon, 27 Aug 2001 18:54:45 +0000
(18:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 27 Aug 2001 18:54:45 +0000
(18:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@385
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TargetMachine/TargetData.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TargetMachine/TargetData.cpp
b/lib/CodeGen/TargetMachine/TargetData.cpp
index 7ab0a6a2060fa657a9414be1d7792f5c13d1c0d9..0d23206d991a7884304a248cb6b54f01c673ab7d 100644
(file)
--- 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 =
P
trTy->isPointerType(); // Returns null if not
+ const PointerType *PtrTy =
p
trTy->isPointerType(); // Returns null if not
assert(PtrTy && "getIndexedOffset on nonpointer!");
unsigned Result = 0;