diff options
Diffstat (limited to 'llvm/lib/Support/xxhash.cpp')
| -rw-r--r-- | llvm/lib/Support/xxhash.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/xxhash.cpp b/llvm/lib/Support/xxhash.cpp index ca3120df4bc..a7d990bf6a4 100644 --- a/llvm/lib/Support/xxhash.cpp +++ b/llvm/lib/Support/xxhash.cpp @@ -68,8 +68,9 @@ static uint64_t mergeRound(uint64_t Acc, uint64_t Val) { return Acc; } -uint64_t llvm::xxHash64(StringRef Data, uint64_t Seed) { +uint64_t llvm::xxHash64(StringRef Data) { size_t Len = Data.size(); + uint64_t Seed = 0; const char *P = Data.data(); const char *const BEnd = P + Len; uint64_t H64; |

