forked from OSchip/llvm-project
parent
287bc6bdf6
commit
eeddeb9601
llvm/include/llvm/MC
|
@ -33,7 +33,7 @@ private:
|
||||||
const int CopyCost;
|
const int CopyCost;
|
||||||
const bool Allocatable;
|
const bool Allocatable;
|
||||||
const iterator RegsBegin, RegsEnd;
|
const iterator RegsBegin, RegsEnd;
|
||||||
const unsigned char *RegSet;
|
const unsigned char *const RegSet;
|
||||||
const unsigned RegSetSize;
|
const unsigned RegSetSize;
|
||||||
public:
|
public:
|
||||||
MCRegisterClass(unsigned id, const char *name,
|
MCRegisterClass(unsigned id, const char *name,
|
||||||
|
@ -44,7 +44,7 @@ public:
|
||||||
Allocatable(Allocable), RegsBegin(RB), RegsEnd(RE), RegSet(Bits),
|
Allocatable(Allocable), RegsBegin(RB), RegsEnd(RE), RegSet(Bits),
|
||||||
RegSetSize(NumBytes) {
|
RegSetSize(NumBytes) {
|
||||||
for (iterator i = RegsBegin; i != RegsEnd; ++i)
|
for (iterator i = RegsBegin; i != RegsEnd; ++i)
|
||||||
assert (contains(*i) && "Bit field corrupted.");
|
assert(contains(*i) && "Bit field corrupted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getID() - Return the register class ID number.
|
/// getID() - Return the register class ID number.
|
||||||
|
|
Loading…
Reference in New Issue