aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineFrameInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-01-10 07:19:43 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-01-10 07:19:43 +0000
commit1778a1590125dbef01b8d85128a11b6fb212b26f (patch)
tree28002bbc5e388d630fadfa9bf66d125229be8871 /include/llvm/CodeGen/MachineFrameInfo.h
parent811281e788432d3136de13f72d05790eced52d92 (diff)
downloadexternal_llvm-1778a1590125dbef01b8d85128a11b6fb212b26f.zip
external_llvm-1778a1590125dbef01b8d85128a11b6fb212b26f.tar.gz
external_llvm-1778a1590125dbef01b8d85128a11b6fb212b26f.tar.bz2
Clearify the meaning of immutable StackObject.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFrameInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h
index 9b1cacd..0aad183 100644
--- a/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/include/llvm/CodeGen/MachineFrameInfo.h
@@ -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)