summaryrefslogtreecommitdiffstats
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
commit77676d5bc20f67105bdcb4a3edae2b7a192d0040 (patch)
treea533d89d0bdeb02789a6d6b599fe1842d9a0552c
parente51d6a9f7011bc1c63b3ad05f7393ad0539d74a6 (diff)
downloadbcm5719-llvm-77676d5bc20f67105bdcb4a3edae2b7a192d0040.tar.gz
bcm5719-llvm-77676d5bc20f67105bdcb4a3edae2b7a192d0040.zip
This member can be const too
llvm-svn: 23600
-rw-r--r--llvm/include/llvm/Target/MRegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/MRegisterInfo.h b/llvm/include/llvm/Target/MRegisterInfo.h
index 2395670b0bf..f5efb1c8d80 100644
--- a/llvm/include/llvm/Target/MRegisterInfo.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud