[llvm-commits] [llvm] r112984 - /llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
Jim Grosbach
grosbach at apple.com
Fri Sep 3 11:17:16 PDT 2010
Author: grosbach
Date: Fri Sep 3 13:17:16 2010
New Revision: 112984
URL: http://llvm.org/viewvc/llvm-project?rev=112984&view=rev
Log:
Add 'const' to getter function.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h?rev=112984&r1=112983&r2=112984&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h Fri Sep 3 13:17:16 2010
@@ -305,7 +305,7 @@
/// 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
More information about the llvm-commits
mailing list