diff options
author | Matt Austern <austern@google.com> | 2010-09-13 18:23:56 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-09-13 18:23:56 +0000 |
commit | e7f72940d251473512d541c7b546100209caa60c (patch) | |
tree | 3f3b9859209b496beacdf65286399d7462f58285 /gcc/combine.c | |
parent | 2ea5ee06a9ab474d15c98f432cfdfeaf2503ff8f (diff) | |
download | gcc-e7f72940d251473512d541c7b546100209caa60c.zip gcc-e7f72940d251473512d541c7b546100209caa60c.tar.gz gcc-e7f72940d251473512d541c7b546100209caa60c.tar.bz2 |
hash_bytes.cc: New file...
2010-09-13 Matt Austern <austern@google.com>
* src/hash_bytes.cc: New file, exports _Hash_bytes (a Murmur hash),
and _Fnv_hash_bytes (based on a FNV algorithm).
* src/compatibility-c++0x.cc (hash<string>::operator(),
hash<const string&>::operator(), hash<wstring>::operator(),
hash<const wstring&>::operator(), hash<error_code>::operator()):
Adjust, use _Hash_bytes.
* include/std/system_error (hash<error_code>::operator()): Likewise.
* include/std/thread (hash<thread::id>operator()): Likewise.
* include/std/bitset (hash<bitset>operator()): Likewise.
* include/bits/basic_string.h (hash<string>::operator(),
hash<wstring>::operator(), hash<u16string>::operator(),
hash<u32string>::operator()): Adjust.
* include/bits/vector.tcc (hash<vector<bool>>::operator()): Adjust.
* include/bits/functional_hash.h (_Hash_bytes, _Fnv_hash_bytes):
Declare.
(struct _Hash_impl, struct _Fnv_hash_impl): Add, use _Hash_bytes
and _Fnv_hash_bytes, respectively.
(hash<float>::operator(), hash<double>::operator()): Adjust.
* config/abi/pre/gnu.ver: Add exports.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
From-SVN: r164253
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions