summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-19 03:18:22 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-19 03:18:22 +0000
commit577f4bd78c68a77075d2e0645f09f3f36a2bbcbc (patch)
tree831b5bfad7a164907022452733e9403161f0e518
parent861c1cb67acfc9599816dbb378162bad4313810c (diff)
downloadbcm5719-llvm-577f4bd78c68a77075d2e0645f09f3f36a2bbcbc.tar.gz
bcm5719-llvm-577f4bd78c68a77075d2e0645f09f3f36a2bbcbc.zip
Add some new constants.
llvm-svn: 34398
-rw-r--r--llvm/include/llvm/ADT/APInt.h3
1 files changed, 2 insertions, 1 deletions
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.
OpenPOWER on IntegriCloud