[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

Reid Spencer reid at x10sys.com
Sun Feb 18 19:18:39 PST 2007



Changes in directory llvm/include/llvm/ADT:

APInt.h updated: 1.13 -> 1.14
---
Log message:

Add some new constants.


---
Diffs of the changes:  (+2 -1)

 APInt.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/ADT/APInt.h
diff -u llvm/include/llvm/ADT/APInt.h:1.13 llvm/include/llvm/ADT/APInt.h:1.14
--- llvm/include/llvm/ADT/APInt.h:1.13	Sun Feb 18 12:42:35 2007
+++ llvm/include/llvm/ADT/APInt.h	Sun Feb 18 21:18:22 2007
@@ -72,7 +72,8 @@
 
   /// 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.






More information about the llvm-commits mailing list