[llvm-commits] [llvm] r82285 - /llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp

Bob Wilson bob.wilson at apple.com
Fri Sep 18 14:43:11 PDT 2009


Author: bwilson
Date: Fri Sep 18 16:43:11 2009
New Revision: 82285

URL: http://llvm.org/viewvc/llvm-project?rev=82285&view=rev
Log:
Fix a comment typo and some whitespace.

Modified:
    llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp

Modified: llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp?rev=82285&r1=82284&r2=82285&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp (original)
+++ llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp Fri Sep 18 16:43:11 2009
@@ -570,7 +570,7 @@
 
   // 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 @@
     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);
   }
 





More information about the llvm-commits mailing list