Index: src/profile-generator.h |
diff --git a/src/profile-generator.h b/src/profile-generator.h |
index b47ce8255a844dcfed2bd0bed182ba155b5b0cd0..51f288242863012f64c25f185fcee563fbb77deb 100644 |
--- a/src/profile-generator.h |
+++ b/src/profile-generator.h |
@@ -750,7 +750,8 @@ class HeapObjectsMap { |
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_; |
@@ -851,7 +852,8 @@ class HeapEntriesMap { |
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; |
@@ -1047,7 +1049,8 @@ class NativeObjectsExplorer : public HeapEntriesAllocator { |
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 || |
@@ -1125,7 +1128,8 @@ class HeapSnapshotJSONSerializer { |
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(); |