Add some comments explaining what MVT and EVT are, and how they differ.
[oota-llvm.git] / include / llvm / CodeGen / MachineFrameInfo.h
index 44b3aed8453b395d3177e6b3ec00d95123bd951d..dca65ef6d4073972bdbfd9113f469b53426c2b02 100644 (file)
@@ -31,7 +31,7 @@ class TargetFrameInfo;
 class BitVector;
 
 /// The CalleeSavedInfo class tracks the information need to locate where a
-/// callee saved register in the current frame.
+/// callee saved register is in the current frame.
 class CalleeSavedInfo {
   unsigned Reg;
   int FrameIdx;
@@ -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