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 /// @}