diff options
Diffstat (limited to 'lib/Transforms/TransformInternals.cpp')
-rw-r--r-- | lib/Transforms/TransformInternals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/TransformInternals.cpp b/lib/Transforms/TransformInternals.cpp index c8e5ecc5f2..0e143cd8c2 100644 --- a/lib/Transforms/TransformInternals.cpp +++ b/lib/Transforms/TransformInternals.cpp @@ -64,7 +64,7 @@ const Type *getStructOffsetType(const Type *Ty, unsigned &Offset, Indices.push_back(ConstantSInt::get(Type::LongTy, Offset/ChildSize)); ThisOffset = (Offset/ChildSize)*ChildSize; } else { - Offset = 0; // Return the offset that we were able to acheive + Offset = 0; // Return the offset that we were able to achieve return Ty; // Return the leaf type } |