diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-07-01 21:00:31 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-07-01 21:00:31 +0000 |
commit | 836ba9d7e733b5f445ceec4cdeca13e49dabd5d1 (patch) | |
tree | 6f03f6aab20c2334d3d5dacdda1604fe8391e22f /lib/Target/TargetRegisterInfo.cpp | |
parent | 844a3d163bc644085b1d744797da43eb9bf7ee3b (diff) | |
download | external_llvm-836ba9d7e733b5f445ceec4cdeca13e49dabd5d1.zip external_llvm-836ba9d7e733b5f445ceec4cdeca13e49dabd5d1.tar.gz external_llvm-836ba9d7e733b5f445ceec4cdeca13e49dabd5d1.tar.bz2 |
Remove warning about initialization order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52980 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetRegisterInfo.cpp')
-rw-r--r-- | lib/Target/TargetRegisterInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/TargetRegisterInfo.cpp b/lib/Target/TargetRegisterInfo.cpp index 37745ec..5d8823b 100644 --- a/lib/Target/TargetRegisterInfo.cpp +++ b/lib/Target/TargetRegisterInfo.cpp @@ -24,8 +24,8 @@ TargetRegisterInfo::TargetRegisterInfo(const TargetRegisterDesc *D, unsigned NR, regclass_iterator RCB, regclass_iterator RCE, int CFSO, int CFDO, const unsigned* subregs, const unsigned subregsize) - : Desc(D), NumRegs(NR), RegClassBegin(RCB), RegClassEnd(RCE), - SubregHash(subregs), SubregHashSize(subregsize) { + : SubregHash(subregs), SubregHashSize(subregsize), Desc(D), NumRegs(NR), + RegClassBegin(RCB), RegClassEnd(RCE) { assert(NumRegs < FirstVirtualRegister && "Target has too many physical registers!"); |