[llvm-commits] [llvm] r53418 - /llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
Dan Gohman
gohman at apple.com
Thu Jul 10 12:57:25 PDT 2008
Author: djg
Date: Thu Jul 10 14:57:25 2008
New Revision: 53418
URL: http://llvm.org/viewvc/llvm-project?rev=53418&view=rev
Log:
Stack objects have nonnegative indices, not just positive indices.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h?rev=53418&r1=53417&r2=53418&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h Thu Jul 10 14:57:25 2008
@@ -55,7 +55,7 @@
///
/// 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 @@
}
/// 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!");
More information about the llvm-commits
mailing list