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 | 8c33d67fbf03a7b82c163972daceaa42eb8f5911 (patch) | |
tree | 9ff95f8c9f660a095f1ed476f286764688af6e5c /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | 3c21a35908cf345155b81253ed2915b0044dd015 (diff) | |
download | bcm5719-llvm-8c33d67fbf03a7b82c163972daceaa42eb8f5911.tar.gz bcm5719-llvm-8c33d67fbf03a7b82c163972daceaa42eb8f5911.zip |
Fix a comment typo and some whitespace.
llvm-svn: 82285
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/PrologEpilogInserter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp index 061ac2a2b50..e20cac26aca 100644 --- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp +++ b/llvm/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); } |