Remove warning about initialization order.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52980 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2008-07-01 21:00:31 +00:00
parent 844a3d163b
commit 836ba9d7e7

View File

@ -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!");