| Index: src/profile-generator-inl.h
|
| diff --git a/src/profile-generator-inl.h b/src/profile-generator-inl.h
|
| index 71de2d1797be03e2b20354aaa40724f4cfac4410..3577219c1dd155825b3d3728b2801c49b015ebfc 100644
|
| --- a/src/profile-generator-inl.h
|
| +++ b/src/profile-generator-inl.h
|
| @@ -122,6 +122,17 @@ CodeEntry* ProfileGenerator::EntryForVMState(StateTag tag) {
|
| }
|
|
|
|
|
| +#ifdef WIN32
|
| +inline uint64_t HeapEntry::id() {
|
| + return *(reinterpret_cast<uint64_t*>(&id_));
|
| +}
|
| +#else
|
| +inline uint64_t HeapEntry::id() {
|
| + return id_;
|
| +}
|
| +#endif
|
| +
|
| +
|
| template<class Visitor>
|
| void HeapEntriesMap::UpdateEntries(Visitor* visitor) {
|
| for (HashMap::Entry* p = entries_.Start();
|
|
|