Add some new constants.
[oota-llvm.git] / include / llvm / ADT / APInt.h
index 661276e0789285bf9cc198e89874eb95a7af9854..e38b7bc996c286dff529371928c8ec8a48c26cad 100644 (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.