OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f99a0ac
)
Add some new constants.
author
Reid Spencer
<rspencer@reidspencer.com>
Mon, 19 Feb 2007 03:18:22 +0000
(
03:18
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Mon, 19 Feb 2007 03:18:22 +0000
(
03:18
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34398
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/APInt.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/APInt.h
b/include/llvm/ADT/APInt.h
index
661276e
..
e38b7bc
100644
(file)
--- 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.