4 billion names is enough for anyone. And really fix the build on alpha this time
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 31 May 2006 20:40:36 +0000 (20:40 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 31 May 2006 20:40:36 +0000 (20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28598 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/SymbolTable.h
include/llvm/TypeSymbolTable.h
include/llvm/ValueSymbolTable.h

index 5083243c3622ad106c7b0995068a3cf9a2366674..52a2c29ea7814917fa0dfbd5b42c0f01c71cee75 100644 (file)
@@ -16,6 +16,7 @@
 #define LLVM_SYMBOL_TABLE_H
 
 #include "llvm/Value.h"
+#include "llvm/Support/DataTypes.h"
 #include <map>
 
 namespace llvm {
@@ -292,7 +293,7 @@ private:
 
   /// This value is used to retain the last unique value used
   /// by getUniqueName to generate unique names.
-  mutable uint64_t LastUnique;
+  mutable uint32_t LastUnique;
 
 /// @}
 
index 8a494562d372d6830fff58272d8d8c1805a1d2f1..c9f8d3107b5245b01d9085c7ef9ce9b7f96d2f9d 100644 (file)
@@ -138,7 +138,7 @@ private:
 /// @{
 private:
   TypeMap tmap; ///< This is the mapping of names to types.
-  mutable uint64_t LastUnique; ///< Counter for tracking unique names
+  mutable uint32_t LastUnique; ///< Counter for tracking unique names
 
 /// @}
 
index 34fa28bd5a7b7ae713dfb4222353161aca501e0a..515e054d5c53dacfcec2d3cd4a3f1d866334d137 100644 (file)
@@ -127,7 +127,7 @@ public:
 /// @{
 private:
   ValueMap vmap;                    ///< The map that holds the symbol table.
-  mutable uint64_t LastUnique; ///< Counter for tracking unique names
+  mutable uint32_t LastUnique; ///< Counter for tracking unique names
 
 /// @}