From 9e3264a1eaf7ed2340859938ab386985a413d602 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Wed, 31 May 2006 20:40:36 +0000 Subject: [PATCH] 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 --- include/llvm/SymbolTable.h | 3 ++- include/llvm/TypeSymbolTable.h | 2 +- include/llvm/ValueSymbolTable.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/llvm/SymbolTable.h b/include/llvm/SymbolTable.h index 5083243c362..52a2c29ea78 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 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 8a494562d37..c9f8d3107b5 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 34fa28bd5a7..515e054d5c5 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 /// @}