Fix a comment typo and some whitespace.
authorBob Wilson <bob.wilson@apple.com>
Fri, 18 Sep 2009 21:43:11 +0000 (21:43 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 18 Sep 2009 21:43:11 +0000 (21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82285 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PrologEpilogInserter.cpp

index 061ac2a2b50f6cf5f93733874538e6d483b29965..e20cac26acac258d8b4ddce54e0dd0a0e9e70642 100644 (file)
@@ -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);
   }