Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 5f2a7b5b2e262fb504426b4e00f6d789725e7196..ab3cb011a7cd96e14b0c545aa3647066d3af4ae6 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -1343,6 +1343,10 @@ void JSObject::JSObjectShortPrint(StringStream* accumulator) { |
accumulator->Add("<JS WeakMap>"); |
break; |
} |
+ case JS_WEAK_SET_TYPE: { |
+ accumulator->Add("<JS WeakSet>"); |
+ break; |
+ } |
case JS_REGEXP_TYPE: { |
accumulator->Add("<JS RegExp>"); |
break; |
@@ -1653,6 +1657,7 @@ void HeapObject::IterateBody(InstanceType type, int object_size, |
case JS_SET_TYPE: |
case JS_MAP_TYPE: |
case JS_WEAK_MAP_TYPE: |
+ case JS_WEAK_SET_TYPE: |
case JS_REGEXP_TYPE: |
case JS_GLOBAL_PROXY_TYPE: |
case JS_GLOBAL_OBJECT_TYPE: |