Fix a comment to say nonnegative instead of positive.
[oota-llvm.git] / 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;