From 9390368970d14361a2ab8c2886e10cc51e42fd1a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 3 Oct 2005 00:21:25 +0000 Subject: [PATCH] This member can be const too git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23600 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/MRegisterInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index 2395670b0bf..f5efb1c8d80 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -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: