summaryrefslogtreecommitdiff
path: root/deps/v8/src/profiler/heap-snapshot-generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/profiler/heap-snapshot-generator.h')
-rw-r--r--deps/v8/src/profiler/heap-snapshot-generator.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/deps/v8/src/profiler/heap-snapshot-generator.h b/deps/v8/src/profiler/heap-snapshot-generator.h
index ec2460b922..070432225a 100644
--- a/deps/v8/src/profiler/heap-snapshot-generator.h
+++ b/deps/v8/src/profiler/heap-snapshot-generator.h
@@ -25,6 +25,7 @@ class HeapEntry;
class HeapIterator;
class HeapProfiler;
class HeapSnapshot;
+class JSArrayBuffer;
class SnapshotFiller;
class HeapGraphEdge BASE_EMBEDDED {
@@ -430,17 +431,14 @@ class V8HeapExplorer : public HeapEntriesAllocator {
int index,
Object* child_obj,
int field_offset);
- void SetPropertyReference(HeapObject* parent_obj,
- int parent,
- Name* reference_name,
- Object* child,
- const char* name_format_string = NULL,
+ void SetPropertyReference(HeapObject* parent_obj, int parent,
+ Name* reference_name, Object* child,
+ const char* name_format_string = nullptr,
int field_offset = -1);
- void SetDataOrAccessorPropertyReference(PropertyKind kind,
- JSObject* parent_obj, int parent,
- Name* reference_name, Object* child,
- const char* name_format_string = NULL,
- int field_offset = -1);
+ void SetDataOrAccessorPropertyReference(
+ PropertyKind kind, JSObject* parent_obj, int parent, Name* reference_name,
+ Object* child, const char* name_format_string = nullptr,
+ int field_offset = -1);
void SetUserGlobalReference(Object* user_global);
void SetRootGcRootsReference();
@@ -572,8 +570,7 @@ class HeapSnapshotJSONSerializer {
strings_(StringsMatch),
next_node_id_(1),
next_string_id_(1),
- writer_(NULL) {
- }
+ writer_(nullptr) {}
void Serialize(v8::OutputStream* stream);
private: