| Index: src/profiler/heap-snapshot-generator.cc
|
| diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc
|
| index 153caf35314f6a7e6fe3482a54ba53cee2498d37..d0fa2e4c1b5f053f1f5a28c6f9788d9ee43fc7dc 100644
|
| --- a/src/profiler/heap-snapshot-generator.cc
|
| +++ b/src/profiler/heap-snapshot-generator.cc
|
| @@ -355,16 +355,8 @@ const SnapshotObjectId HeapObjectsMap::kFirstAvailableObjectId =
|
| HeapObjectsMap::kGcRootsFirstSubrootId +
|
| VisitorSynchronization::kNumberOfSyncTags * HeapObjectsMap::kObjectIdStep;
|
|
|
| -
|
| -static bool AddressesMatch(void* key1, void* key2) {
|
| - return key1 == key2;
|
| -}
|
| -
|
| -
|
| HeapObjectsMap::HeapObjectsMap(Heap* heap)
|
| - : next_id_(kFirstAvailableObjectId),
|
| - entries_map_(AddressesMatch),
|
| - heap_(heap) {
|
| + : next_id_(kFirstAvailableObjectId), heap_(heap) {
|
| // This dummy element solves a problem with entries_map_.
|
| // When we do lookup in HashMap we see no difference between two cases:
|
| // it has an entry with NULL as the value or it has created
|
|
|