This member can be const too
authorChris Lattner <sabre@nondot.org>
Mon, 3 Oct 2005 00:21:25 +0000 (00:21 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 3 Oct 2005 00:21:25 +0000 (00:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23600 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/MRegisterInfo.h

index 2395670b0bf31ad88421553f57db10fdd7bcbd98..f5efb1c8d80882e7ede531bc35efd2e1d4d76e7f 100644 (file)
@@ -45,7 +45,7 @@ public:
   typedef const unsigned* const_iterator;
 
 private:
-  MVT::ValueType VT;
+  const MVT::ValueType VT;
   const unsigned RegSize, Alignment;    // Size & Alignment of register in bytes
   const iterator RegsBegin, RegsEnd;
 public: