summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-16 15:57:10 +0000
committerDan Gohman <gohman@apple.com>2008-07-16 15:57:10 +0000
commit26ffe2bea6f1682fb9c503c6e8468b20264778c0 (patch)
treef2522166779b7c47d1754915c5f2d52e00f472d5 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parentbf98f682656888126a13b49fc8e92f3643a77eb0 (diff)
downloadbcm5719-llvm-26ffe2bea6f1682fb9c503c6e8468b20264778c0.tar.gz
bcm5719-llvm-26ffe2bea6f1682fb9c503c6e8468b20264778c0.zip
Fix a comment to say nonnegative instead of positive.
llvm-svn: 53681
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index 95b6078335b..be8a54e03d1 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -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;
OpenPOWER on IntegriCloud