From d81b0659501c66b2fec2009e8a999c3db6a1f95c Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 19 Feb 2007 03:18:22 +0000 Subject: [PATCH] Add some new constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34398 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/APInt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h index 661276e0789..e38b7bc996c 100644 --- a/include/llvm/ADT/APInt.h +++ b/include/llvm/ADT/APInt.h @@ -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. -- 2.34.1