summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-10 19:57:25 +0000
committerDan Gohman <gohman@apple.com>2008-07-10 19:57:25 +0000
commit46e7730c81a3aae2e94d1e0689762bb73649e223 (patch)
treefcb7ddf77804b60552f711a9057e4a0b76a16709 /include
parent358f5ac9721f02eec68145bba012322ebc78d58c (diff)
downloadllvm-46e7730c81a3aae2e94d1e0689762bb73649e223.tar.gz
llvm-46e7730c81a3aae2e94d1e0689762bb73649e223.tar.bz2
llvm-46e7730c81a3aae2e94d1e0689762bb73649e223.tar.xz
Stack objects have nonnegative indices, not just positive indices.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h
index b47ef6738f..3c9fff68d0 100644
--- a/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/include/llvm/CodeGen/MachineFrameInfo.h
@@ -55,7 +55,7 @@ public:
///
/// To support this, the class assigns unique integer identifiers to stack
/// objects requested clients. These identifiers are negative integers for
-/// fixed stack objects (such as arguments passed on the stack) or positive
+/// fixed stack objects (such as arguments passed on the stack) or nonnegative
/// for objects that may be reordered. Instructions which refer to stack
/// objects use a special MO_FrameIndex operand to represent these frame
/// indexes.
@@ -327,7 +327,7 @@ public:
}
/// CreateStackObject - Create a new statically sized stack object, returning
- /// a postive identifier to represent it.
+ /// a nonnegative identifier to represent it.
///
int CreateStackObject(uint64_t Size, unsigned Alignment) {
assert(Size != 0 && "Cannot allocate zero size stack objects!");