1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

comment cleanups.

llvm-svn: 58315
This commit is contained in:
Chris Lattner 2008-10-28 05:31:31 +00:00
parent 8f9bfa5bff
commit b2d576facf

View File

@ -224,21 +224,21 @@ public:
return Objects[ObjectIdx+NumFixedObjects].Size; return Objects[ObjectIdx+NumFixedObjects].Size;
} }
// setObjectSize - Change the size of the specified stack object... /// setObjectSize - Change the size of the specified stack object.
void setObjectSize(int ObjectIdx, int64_t Size) { void setObjectSize(int ObjectIdx, int64_t Size) {
assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() &&
"Invalid Object Idx!"); "Invalid Object Idx!");
Objects[ObjectIdx+NumFixedObjects].Size = Size; Objects[ObjectIdx+NumFixedObjects].Size = Size;
} }
/// getObjectAlignment - Return the alignment of the specified stack object... /// getObjectAlignment - Return the alignment of the specified stack object.
unsigned getObjectAlignment(int ObjectIdx) const { unsigned getObjectAlignment(int ObjectIdx) const {
assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() &&
"Invalid Object Idx!"); "Invalid Object Idx!");
return Objects[ObjectIdx+NumFixedObjects].Alignment; return Objects[ObjectIdx+NumFixedObjects].Alignment;
} }
/// setObjectAlignment - Change the alignment of the specified stack object... /// setObjectAlignment - Change the alignment of the specified stack object.
void setObjectAlignment(int ObjectIdx, unsigned Align) { void setObjectAlignment(int ObjectIdx, unsigned Align) {
assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() &&
"Invalid Object Idx!"); "Invalid Object Idx!");