Fix a comment to say nonnegative instead of positive.
authorDan Gohman <gohman@apple.com>
Wed, 16 Jul 2008 15:57:10 +0000 (15:57 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 16 Jul 2008 15:57:10 +0000 (15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53681 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PrologEpilogInserter.cpp

index 95b6078335b406dc4bfcb3149603c835aeed50cb..be8a54e03d1c60923fac4c8c1289901cf573fb13 100644 (file)
@@ -317,7 +317,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
 
   // Start at the beginning of the local area.
   // The Offset is the distance from the stack top in the direction
-  // of stack growth -- so it's always positive.
+  // of stack growth -- so it's always nonnegative.
   int64_t Offset = TFI.getOffsetOfLocalArea();
   if (StackGrowsDown)
     Offset = -Offset;