diff options
Diffstat (limited to 'lib/Support/Hashing.cpp')
-rw-r--r-- | lib/Support/Hashing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/Hashing.cpp b/lib/Support/Hashing.cpp index c69efb7c3cc9..7de25cec7371 100644 --- a/lib/Support/Hashing.cpp +++ b/lib/Support/Hashing.cpp @@ -20,10 +20,10 @@ using namespace llvm; // Provide a definition and static initializer for the fixed seed. This // initializer should always be zero to ensure its value can never appear to be // non-zero, even during dynamic initialization. -size_t llvm::hashing::detail::fixed_seed_override = 0; +uint64_t llvm::hashing::detail::fixed_seed_override = 0; // Implement the function for forced setting of the fixed seed. // FIXME: Use atomic operations here so that there is no data race. -void llvm::set_fixed_execution_hash_seed(size_t fixed_value) { +void llvm::set_fixed_execution_hash_seed(uint64_t fixed_value) { hashing::detail::fixed_seed_override = fixed_value; } |