diff options
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.cpp')
-rw-r--r-- | llvm/lib/Transforms/TransformInternals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/TransformInternals.cpp b/llvm/lib/Transforms/TransformInternals.cpp index c8e5ecc5f2b..0e143cd8c2e 100644 --- a/llvm/lib/Transforms/TransformInternals.cpp +++ b/llvm/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 } |