| Index: src/heap-snapshot-generator.h
|
| diff --git a/src/heap-snapshot-generator.h b/src/heap-snapshot-generator.h
|
| index ccdcab4a36e820ec14aedab842051f030ec1d397..7b0cf8f021e2c717cc21ab73093562448164af7e 100644
|
| --- a/src/heap-snapshot-generator.h
|
| +++ b/src/heap-snapshot-generator.h
|
| @@ -100,7 +100,9 @@ class HeapEntry BASE_EMBEDDED {
|
| kRegExp = v8::HeapGraphNode::kRegExp,
|
| kHeapNumber = v8::HeapGraphNode::kHeapNumber,
|
| kNative = v8::HeapGraphNode::kNative,
|
| - kSynthetic = v8::HeapGraphNode::kSynthetic
|
| + kSynthetic = v8::HeapGraphNode::kSynthetic,
|
| + kConsString = v8::HeapGraphNode::kConsString,
|
| + kSlicedString = v8::HeapGraphNode::kSlicedString
|
| };
|
| static const int kNoEntry;
|
|
|
| @@ -235,7 +237,7 @@ class HeapObjectsMap {
|
| SnapshotObjectId PushHeapObjectsStats(OutputStream* stream);
|
| size_t GetUsedMemorySize() const;
|
|
|
| - static SnapshotObjectId GenerateId(v8::RetainedObjectInfo* info);
|
| + static SnapshotObjectId GenerateId(Heap* heap, v8::RetainedObjectInfo* info);
|
| static inline SnapshotObjectId GetNthGcSubrootId(int delta);
|
|
|
| static const int kObjectIdStep = 2;
|
|
|