diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-09-18 21:43:11 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-09-18 21:43:11 +0000 |
commit | 1d8662c4dfa69ff87d42037794cf6e6774c2c512 (patch) | |
tree | 85712a93c881e52b30276d105e8ec842c1ffaf63 /lib | |
parent | 764ce99aff6b5db12d99c31467c9e9b7c5612cf2 (diff) | |
download | external_llvm-1d8662c4dfa69ff87d42037794cf6e6774c2c512.zip external_llvm-1d8662c4dfa69ff87d42037794cf6e6774c2c512.tar.gz external_llvm-1d8662c4dfa69ff87d42037794cf6e6774c2c512.tar.bz2 |
Fix a comment typo and some whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/PrologEpilogInserter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp index 061ac2a..e20cac2 100644 --- a/lib/CodeGen/PrologEpilogInserter.cpp +++ b/lib/CodeGen/PrologEpilogInserter.cpp @@ -570,7 +570,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) { // Round up the size to a multiple of the alignment, but only if there are // calls or alloca's in the function. This ensures that any calls to - // subroutines have their stack frames suitable aligned. + // subroutines have their stack frames suitably aligned. // Also do this if we need runtime alignment of the stack. In this case // offsets will be relative to SP not FP; round up the stack size so this // works. @@ -584,7 +584,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) { if (RegInfo->hasReservedCallFrame(Fn)) Offset += FFI->getMaxCallFrameSize(); - unsigned AlignMask = std::max(TFI.getStackAlignment(),MaxAlign) - 1; + unsigned AlignMask = std::max(TFI.getStackAlignment(), MaxAlign) - 1; Offset = (Offset + AlignMask) & ~uint64_t(AlignMask); } |