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:
parent
8f9bfa5bff
commit
b2d576facf
@ -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!");
|
||||||
|
Loading…
Reference in New Issue
Block a user