diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-08-16 18:06:15 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-08-16 18:06:15 +0000 |
commit | 63249347c2700fe2481e0bc36caa63f6e2cf6eab (patch) | |
tree | 9c7492d8e2ce1fc2d99126554e4d5f82c11744ff /include/llvm/CodeGen/MachineFrameInfo.h | |
parent | 7d0e3c01f35fae3c448761c21477faa622872044 (diff) |
track local frame size in MFI, not local to the pass, since PEI needs it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFrameInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFrameInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h index 7c98b36e9a..c99b5f59c1 100644 --- a/include/llvm/CodeGen/MachineFrameInfo.h +++ b/include/llvm/CodeGen/MachineFrameInfo.h @@ -296,6 +296,9 @@ public: /// blob. int64_t getLocalFrameBaseOffset() const { return LocalFrameBaseOffset; } + /// setLocalFrameSize - Set the size of the local object blob. + void setLocalFrameSize(int64_t sz) { LocalFrameSize = sz; } + /// getLocalFrameSize - Get the size of the local object blob. int64_t getLocalFrameSize() const { return LocalFrameSize; } |