Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 26630099a867831cfba5c439e822fb14ffbd49b6..e67acef268f1fdc340425ac07f59182287f3232c 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -1583,14 +1583,8 @@ void V8HeapExplorer::ExtractPropertyReferences(JSObject* js_obj, int entry) { |
int field_offset = |
field_index.is_inobject() ? field_index.offset() : -1; |
- if (k != heap_->hidden_properties_symbol()) { |
- SetDataOrAccessorPropertyReference(details.kind(), js_obj, entry, k, |
- value, NULL, field_offset); |
- } else { |
- TagObject(value, "(hidden properties)"); |
- SetInternalReference(js_obj, entry, "hidden_properties", value, |
- field_offset); |
- } |
+ SetDataOrAccessorPropertyReference(details.kind(), js_obj, entry, k, |
+ value, NULL, field_offset); |
break; |
} |
case kDescriptor: |
@@ -1610,11 +1604,6 @@ void V8HeapExplorer::ExtractPropertyReferences(JSObject* js_obj, int entry) { |
DCHECK(dictionary->ValueAt(i)->IsPropertyCell()); |
PropertyCell* cell = PropertyCell::cast(dictionary->ValueAt(i)); |
Object* value = cell->value(); |
- if (k == heap_->hidden_properties_symbol()) { |
- TagObject(value, "(hidden properties)"); |
- SetInternalReference(js_obj, entry, "hidden_properties", value); |
- continue; |
- } |
PropertyDetails details = cell->property_details(); |
SetDataOrAccessorPropertyReference(details.kind(), js_obj, entry, |
Name::cast(k), value); |
@@ -1627,11 +1616,6 @@ void V8HeapExplorer::ExtractPropertyReferences(JSObject* js_obj, int entry) { |
Object* k = dictionary->KeyAt(i); |
if (dictionary->IsKey(k)) { |
Object* value = dictionary->ValueAt(i); |
- if (k == heap_->hidden_properties_symbol()) { |
- TagObject(value, "(hidden properties)"); |
- SetInternalReference(js_obj, entry, "hidden_properties", value); |
- continue; |
- } |
PropertyDetails details = dictionary->DetailsAt(i); |
SetDataOrAccessorPropertyReference(details.kind(), js_obj, entry, |
Name::cast(k), value); |