| Index: src/profile-generator.h
|
| ===================================================================
|
| --- src/profile-generator.h (revision 10405)
|
| +++ src/profile-generator.h (working copy)
|
| @@ -735,7 +735,8 @@
|
|
|
| static uint32_t AddressHash(Address addr) {
|
| return ComputeIntegerHash(
|
| - static_cast<uint32_t>(reinterpret_cast<uintptr_t>(addr)));
|
| + static_cast<uint32_t>(reinterpret_cast<uintptr_t>(addr)),
|
| + v8::internal::kZeroHashSeed);
|
| }
|
|
|
| bool initial_fill_mode_;
|
| @@ -836,7 +837,8 @@
|
|
|
| static uint32_t Hash(HeapThing thing) {
|
| return ComputeIntegerHash(
|
| - static_cast<uint32_t>(reinterpret_cast<uintptr_t>(thing)));
|
| + static_cast<uint32_t>(reinterpret_cast<uintptr_t>(thing)),
|
| + v8::internal::kZeroHashSeed);
|
| }
|
| static bool HeapThingsMatch(HeapThing key1, HeapThing key2) {
|
| return key1 == key2;
|
| @@ -1018,7 +1020,8 @@
|
| void VisitSubtreeWrapper(Object** p, uint16_t class_id);
|
|
|
| static uint32_t InfoHash(v8::RetainedObjectInfo* info) {
|
| - return ComputeIntegerHash(static_cast<uint32_t>(info->GetHash()));
|
| + return ComputeIntegerHash(static_cast<uint32_t>(info->GetHash()),
|
| + v8::internal::kZeroHashSeed);
|
| }
|
| static bool RetainedInfosMatch(void* key1, void* key2) {
|
| return key1 == key2 ||
|
| @@ -1096,7 +1099,8 @@
|
|
|
| INLINE(static uint32_t ObjectHash(const void* key)) {
|
| return ComputeIntegerHash(
|
| - static_cast<uint32_t>(reinterpret_cast<uintptr_t>(key)));
|
| + static_cast<uint32_t>(reinterpret_cast<uintptr_t>(key)),
|
| + v8::internal::kZeroHashSeed);
|
| }
|
|
|
| void EnumerateNodes();
|
|
|