Add some new constants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-02-19 03:18:22 +00:00
parent f99a0ac0dc
commit d81b065950

View File

@ -72,7 +72,8 @@ public:
/// This enum is just used to hold a constant we needed for APInt.
enum {
APINT_BITS_PER_WORD = sizeof(uint64_t) * 8
APINT_BITS_PER_WORD = sizeof(uint64_t) * 8,
APINT_WORD_SIZE = sizeof(uint64_t)
};
/// Here one word's bitwidth equals to that of uint64_t.