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:
921ef3a
)
We were not correctly burrowing down multiple levels to get to a leaf. Fix this now
author
Chris Lattner
<sabre@nondot.org>
Thu, 7 Mar 2002 21:18:00 +0000
(21:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 7 Mar 2002 21:18:00 +0000
(21:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1833
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/TransformInternals.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/TransformInternals.cpp
b/lib/Transforms/TransformInternals.cpp
index f773a1c473e2c887cd7a7e447d5d99974c4a6f07..67c25e2fc1f07ff7dc6a0435e68885a917eaa5bb 100644
(file)
--- a/
lib/Transforms/TransformInternals.cpp
+++ b/
lib/Transforms/TransformInternals.cpp
@@
-119,7
+119,8
@@
const Type *getStructOffsetType(const Type *Ty, unsigned &Offset,
}
unsigned SubOffs = Offset - ThisOffset;
- const Type *LeafTy = getStructOffsetType(NextType, SubOffs, Offsets);
+ const Type *LeafTy = getStructOffsetType(NextType, SubOffs,
+ Offsets, StopEarly);
Offset = ThisOffset + SubOffs;
return LeafTy;
}