From 260fbf2b57859d513e78acd68a8e122581198e68 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 3 Sep 2010 18:17:16 +0000 Subject: [PATCH] Add 'const' to getter function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112984 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineFrameInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h index b6297fab3a9..dca65ef6d40 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