aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-05-31 20:40:36 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-05-31 20:40:36 +0000
commit9e3264a1eaf7ed2340859938ab386985a413d602 (patch)
treef80a4446a0937b40be662b9eb8325369e59bbb58
parent539d871ce3c35a543dad2b3f6c1c3a1c58dfaf47 (diff)
4 billion names is enough for anyone. And really fix the build on alpha this time
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28598 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/SymbolTable.h3
-rw-r--r--include/llvm/TypeSymbolTable.h2
-rw-r--r--include/llvm/ValueSymbolTable.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/SymbolTable.h b/include/llvm/SymbolTable.h
index 5083243c36..52a2c29ea7 100644
--- a/include/llvm/SymbolTable.h
+++ b/include/llvm/SymbolTable.h
@@ -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;
/// @}
diff --git a/include/llvm/TypeSymbolTable.h b/include/llvm/TypeSymbolTable.h
index 8a494562d3..c9f8d3107b 100644
--- a/include/llvm/TypeSymbolTable.h
+++ b/include/llvm/TypeSymbolTable.h
@@ -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
/// @}
diff --git a/include/llvm/ValueSymbolTable.h b/include/llvm/ValueSymbolTable.h
index 34fa28bd5a..515e054d5c 100644
--- a/include/llvm/ValueSymbolTable.h
+++ b/include/llvm/ValueSymbolTable.h
@@ -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
/// @}