diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-07-19 05:58:18 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-07-19 05:58:18 +0000 |
commit | 3b0c0148ed9ec752b240dbea767ad4a9f0a682ca (patch) | |
tree | cb5430731a7931c8a1e2197628fe5f44eb95a23a /include/llvm/Target/MRegisterInfo.h | |
parent | 10d9d9f27c28721228ca2ea57ae3430c60df3356 (diff) | |
download | external_llvm-3b0c0148ed9ec752b240dbea767ad4a9f0a682ca.zip external_llvm-3b0c0148ed9ec752b240dbea767ad4a9f0a682ca.tar.gz external_llvm-3b0c0148ed9ec752b240dbea767ad4a9f0a682ca.tar.bz2 |
Make sub- and super- register classes const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/MRegisterInfo.h')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index 0cac31b..1ca560e 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -47,7 +47,7 @@ public: typedef const unsigned* const_iterator; typedef const MVT::ValueType* vt_iterator; - typedef const TargetRegisterClass** sc_iterator; + typedef const TargetRegisterClass* const * sc_iterator; private: bool isSubClass; const vt_iterator VTs; @@ -57,8 +57,8 @@ private: const iterator RegsBegin, RegsEnd; public: TargetRegisterClass(const MVT::ValueType *vts, - const TargetRegisterClass **subcs, - const TargetRegisterClass **supcs, + const TargetRegisterClass * const *subcs, + const TargetRegisterClass * const *supcs, unsigned RS, unsigned Al, iterator RB, iterator RE) : VTs(vts), SubClasses(subcs), SuperClasses(supcs), RegSize(RS), Alignment(Al), RegsBegin(RB), RegsEnd(RE) {} |