From 63249347c2700fe2481e0bc36caa63f6e2cf6eab Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Mon, 16 Aug 2010 18:06:15 +0000 Subject: 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 --- include/llvm/CodeGen/MachineFrameInfo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/llvm/CodeGen') 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; } -- cgit v1.2.3