Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 10e69fc2641e30d41580876e4872a996ef720d95..c93b23c47105f70a630af1cc6cdf3548dde88712 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7556,6 +7556,7 @@ Handle<Value> HeapGraphEdge::GetName() const { |
isolate->factory()->InternalizeUtf8String(edge->name())); |
case i::HeapGraphEdge::kElement: |
case i::HeapGraphEdge::kHidden: |
+ case i::HeapGraphEdge::kWeak: |
return ToApiHandle<Number>( |
isolate->factory()->NewNumberFromInt(edge->index())); |
default: UNREACHABLE(); |