summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-03 18:17:16 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-03 18:17:16 +0000
commit260fbf2b57859d513e78acd68a8e122581198e68 (patch)
treec64676d76c08bcdf328aa0038b542e303af80fda /include
parentf572191fe43025bd85ab5d398a5b53305fdc6b8b (diff)
downloadllvm-260fbf2b57859d513e78acd68a8e122581198e68.tar.gz
llvm-260fbf2b57859d513e78acd68a8e122581198e68.tar.bz2
llvm-260fbf2b57859d513e78acd68a8e122581198e68.tar.xz
Add 'const' to getter function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h
index b6297fab3a..dca65ef6d4 100644
--- a/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/include/llvm/CodeGen/MachineFrameInfo.h
@@ -305,7 +305,7 @@ public:
/// getLocalFrameMaxAlign - Return the required alignment of the local
/// object blob.
- unsigned getLocalFrameMaxAlign() { return LocalFrameMaxAlign; }
+ unsigned getLocalFrameMaxAlign() const { return LocalFrameMaxAlign; }
/// getUseLocalStackAllocationBlock - Get whether the local allocation blob
/// should be allocated together or let PEI allocate the locals in it