| Index: src/profile-generator.h
|
| diff --git a/src/profile-generator.h b/src/profile-generator.h
|
| index 7f8ffbdba44b18f48e23cf9db717af4a17e6a468..0773a1e1d0c50c143a985b8032954590040a3792 100644
|
| --- a/src/profile-generator.h
|
| +++ b/src/profile-generator.h
|
| @@ -526,7 +526,7 @@ class HeapEntry BASE_EMBEDDED {
|
| HeapSnapshot* snapshot() { return snapshot_; }
|
| Type type() { return static_cast<Type>(type_); }
|
| const char* name() { return name_; }
|
| - uint64_t id() { return id_; }
|
| + uint64_t id();
|
| int self_size() { return self_size_; }
|
| int retained_size() { return retained_size_; }
|
| void add_retained_size(int size) { retained_size_ += size; }
|
| @@ -615,8 +615,11 @@ class HeapEntry BASE_EMBEDDED {
|
| };
|
| HeapEntry* dominator_;
|
| HeapSnapshot* snapshot_;
|
| + struct Id {
|
| + uint32_t id1_;
|
| + uint32_t id2_;
|
| + } id_; // This is to avoid extra padding of 64-bit value on MSVC.
|
| const char* name_;
|
| - uint64_t id_;
|
|
|
| // Paints used for exact retained sizes calculation.
|
| static const unsigned kUnpainted = 0;
|
|
|