mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-11 15:26:40 +00:00
hash_state: Don't use initialization target during initialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151959 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf95d3a5d7
commit
a2a9b9e775
@ -273,9 +273,8 @@ struct hash_state {
|
||||
static hash_state create(const char *s, uint64_t seed) {
|
||||
hash_state state = {
|
||||
0, seed, hash_16_bytes(seed, k1), rotate(seed ^ k1, 49),
|
||||
seed * k1, shift_mix(seed), hash_16_bytes(state.h4, state.h5),
|
||||
seed
|
||||
};
|
||||
seed * k1, shift_mix(seed), 0, seed };
|
||||
state.h6 = hash_16_bytes(state.h4, state.h5);
|
||||
state.mix(s);
|
||||
return state;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user