1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[ORC] Fix the counter type on SymbolStringPool entries.

Hopefully this will fix the build failure in
http://lab.llvm.org:8011/builders/llvm-mips-linux/builds/3417

llvm-svn: 321926
This commit is contained in:
Lang Hames 2018-01-06 05:19:06 +00:00
parent 30a56eaf2e
commit bf29e2d4a9

View File

@ -36,7 +36,7 @@ public:
/// @brief Returns true if the pool is empty.
bool empty() const;
private:
using RefCountType = std::atomic<uint64_t>;
using RefCountType = std::atomic<size_t>;
using PoolMap = StringMap<RefCountType>;
using PoolMapEntry = StringMapEntry<RefCountType>;
mutable std::mutex PoolMutex;