From 577f4bd78c68a77075d2e0645f09f3f36a2bbcbc Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 19 Feb 2007 03:18:22 +0000 Subject: Add some new constants. llvm-svn: 34398 --- llvm/include/llvm/ADT/APInt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/ADT/APInt.h b/llvm/include/llvm/ADT/APInt.h index 661276e0789..e38b7bc996c 100644 --- a/llvm/include/llvm/ADT/APInt.h +++ b/llvm/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. -- cgit v1.2.3