diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-03-05 08:33:33 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-03-05 08:33:33 +0000 |
commit | 52b89dd303424582d054e18417099f3a7e343b41 (patch) | |
tree | 9b28c7c8f497779115c3fdecfedb7b704d92e296 /include/llvm/MC | |
parent | 9ebfbf8b9fd5f982e0db9293808bd32168615ba9 (diff) | |
download | external_llvm-52b89dd303424582d054e18417099f3a7e343b41.zip external_llvm-52b89dd303424582d054e18417099f3a7e343b41.tar.gz external_llvm-52b89dd303424582d054e18417099f3a7e343b41.tar.bz2 |
Shrink and reorder fields in MCRegisterClass to reduce size of static data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r-- | include/llvm/MC/MCRegisterInfo.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/MC/MCRegisterInfo.h b/include/llvm/MC/MCRegisterInfo.h index 2d9a459..ddf355e 100644 --- a/include/llvm/MC/MCRegisterInfo.h +++ b/include/llvm/MC/MCRegisterInfo.h @@ -28,15 +28,15 @@ public: typedef const uint16_t* iterator; typedef const uint16_t* const_iterator; - const unsigned ID; const char *Name; - const unsigned RegSize, Alignment; // Size & Alignment of register in bytes - const int CopyCost; - const bool Allocatable; const iterator RegsBegin; const uint8_t *const RegSet; - const unsigned RegsSize; - const unsigned RegSetSize; + const uint8_t RegsSize; + const uint8_t RegSetSize; + const uint8_t ID; + const uint8_t RegSize, Alignment; // Size & Alignment of register in bytes + const int8_t CopyCost; + const bool Allocatable; /// getID() - Return the register class ID number. /// |