| Index: runtime/vm/heap.cc
|
| diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
|
| index 4998b881cfdc1c4876e1cbf79b991a4853aaa9c1..29f5fcc202dd2be8b7336fed069e6d03fbe1769c 100644
|
| --- a/runtime/vm/heap.cc
|
| +++ b/runtime/vm/heap.cc
|
| @@ -642,11 +642,12 @@ int64_t Heap::PeerCount() const {
|
| return new_weak_tables_[kPeers]->count() + old_weak_tables_[kPeers]->count();
|
| }
|
|
|
| -
|
| +#if !defined(HASH_IN_OBJECT_HEADER)
|
| int64_t Heap::HashCount() const {
|
| return new_weak_tables_[kHashes]->count() +
|
| old_weak_tables_[kHashes]->count();
|
| }
|
| +#endif
|
|
|
|
|
| int64_t Heap::ObjectIdCount() const {
|
|
|