Clearify the meaning of immutable StackObject.

llvm-svn: 45828
This commit is contained in:
Evan Cheng 2008-01-10 07:19:43 +00:00
parent 64104d9b2f
commit 8934a96adb

View File

@ -86,9 +86,9 @@ class MachineFrameInfo {
// the function. This field has no meaning for a variable sized element.
int64_t SPOffset;
// isImmutable - If true, the value of the stack object does not change
// in this function. By default, fixed objects are immutable unless marked
// otherwise.
// isImmutable - If true, the value of the stack object is set before
// entering the function and is not modified inside the function. By
// default, fixed objects are immutable unless marked otherwise.
bool isImmutable;
StackObject(uint64_t Sz, unsigned Al, int64_t SP, bool IM = false)