Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 5912449169889c18e3064ca21338949bfb1cb0cc..083859d3e985aa900da860120819cf4a015c6242 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -4669,9 +4669,11 @@ Handle<Value> HeapGraphEdge::GetName() const { |
case i::HeapGraphEdge::kContextVariable: |
case i::HeapGraphEdge::kInternal: |
case i::HeapGraphEdge::kProperty: |
+ case i::HeapGraphEdge::kShortcut: |
return Handle<String>(ToApi<String>(i::Factory::LookupAsciiSymbol( |
edge->name()))); |
case i::HeapGraphEdge::kElement: |
+ case i::HeapGraphEdge::kHidden: |
return Handle<Number>(ToApi<Number>(i::Factory::NewNumberFromInt( |
edge->index()))); |
default: UNREACHABLE(); |