| Index: src/runtime.cc
|
| ===================================================================
|
| --- src/runtime.cc (revision 5369)
|
| +++ src/runtime.cc (working copy)
|
| @@ -4859,9 +4859,8 @@
|
| (len == 1 || data[0] != '0')) {
|
| // String hash is not calculated yet but all the data are present.
|
| // Update the hash field to speed up sequential convertions.
|
| - uint32_t hash = StringHasher::MakeCachedArrayIndex(d, len);
|
| + uint32_t hash = StringHasher::MakeArrayIndexHash(d, len);
|
| #ifdef DEBUG
|
| - ASSERT((hash & String::kContainsCachedArrayIndexMask) == 0);
|
| subject->Hash(); // Force hash calculation.
|
| ASSERT_EQ(static_cast<int>(subject->hash_field()),
|
| static_cast<int>(hash));
|
|
|