fix typo Duncan noticed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61997 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-01-09 18:31:39 +00:00
parent 583dd6072e
commit ed78f431ed

View File

@ -7712,7 +7712,7 @@ static bool FindElementAtOffset(const Type *Ty, int64_t Offset,
FirstIdx = Offset/TySize;
Offset %= TySize;
// Handle silly modulus not returning values values [0..TySize).
// Handle silly modulus not returning values [0..TySize).
if (Offset < 0) {
--FirstIdx;
Offset += TySize;