Index: src/profile-generator.h |
diff --git a/src/profile-generator.h b/src/profile-generator.h |
index 559ffc627fcee1cc17735f35157c820868554b6d..0cbde16fb6e93000d93d336befa8d822a8d57442 100644 |
--- a/src/profile-generator.h |
+++ b/src/profile-generator.h |
@@ -1030,11 +1030,13 @@ class V8HeapExplorer : public HeapEntriesAllocator { |
void SetInternalReference(HeapObject* parent_obj, |
HeapEntry* parent, |
const char* reference_name, |
- Object* child); |
+ Object* child, |
+ int field_offset = -1); |
void SetInternalReference(HeapObject* parent_obj, |
HeapEntry* parent, |
int index, |
- Object* child); |
+ Object* child, |
+ int field_offset = -1); |
void SetHiddenReference(HeapObject* parent_obj, |
HeapEntry* parent, |
int index, |
@@ -1042,7 +1044,8 @@ class V8HeapExplorer : public HeapEntriesAllocator { |
void SetPropertyReference(HeapObject* parent_obj, |
HeapEntry* parent, |
String* reference_name, |
- Object* child); |
+ Object* child, |
+ int field_offset = -1); |
void SetPropertyShortcutReference(HeapObject* parent_obj, |
HeapEntry* parent, |
String* reference_name, |
@@ -1056,9 +1059,6 @@ class V8HeapExplorer : public HeapEntriesAllocator { |
HeapSnapshot* snapshot_; |
HeapSnapshotsCollection* collection_; |
SnapshottingProgressReportingInterface* progress_; |
- // Used during references extraction to mark heap objects that |
- // are references via non-hidden properties. |
- HeapObjectsSet known_references_; |
SnapshotFillerInterface* filler_; |
static HeapObject* const kGcRootsObject; |