Skip to content

Instantly share code, notes, and snippets.

@syg
Created February 3, 2018 23:01
Show Gist options
  • Save syg/72932b7cdf96722e98af37bc0910763b to your computer and use it in GitHub Desktop.
Save syg/72932b7cdf96722e98af37bc0910763b to your computer and use it in GitHub Desktop.
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc
index c80877f623..fad693d3be 100644
--- a/src/profiler/heap-snapshot-generator.cc
+++ b/src/profiler/heap-snapshot-generator.cc
@@ -953,6 +953,7 @@ const char* V8HeapExplorer::GetSystemEntryName(HeapObject* object) {
case NAME##_TYPE: return "system / "#Name;
STRUCT_LIST(MAKE_STRUCT_CASE)
#undef MAKE_STRUCT_CASE
+ case WEAK_CELL_TYPE: return "system / WeakCell";
default: return "system";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment