aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-03 00:21:25 +0000
committerChris Lattner <sabre@nondot.org>2005-10-03 00:21:25 +0000
commit9390368970d14361a2ab8c2886e10cc51e42fd1a (patch)
treed03ececdccdd86a4b8e82d874aaabf13f2e5d65d /include/llvm
parent80bec12f967f93d549bf50aa7bb2d62a565d944e (diff)
downloadexternal_llvm-9390368970d14361a2ab8c2886e10cc51e42fd1a.zip
external_llvm-9390368970d14361a2ab8c2886e10cc51e42fd1a.tar.gz
external_llvm-9390368970d14361a2ab8c2886e10cc51e42fd1a.tar.bz2
This member can be const too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/MRegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h
index 2395670..f5efb1c 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: