Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index c01390c4aa878c165b3c3299f1e3ad37f7d4451a..cd5bbf40abad07a12afa5e6f45f359bbe8dc2908 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -1290,6 +1290,10 @@ void JSObject::JSObjectShortPrint(StringStream* accumulator) { |
} |
break; |
} |
+ case JS_GENERATOR_OBJECT_TYPE: { |
+ accumulator->Add("<JS Generator>"); |
+ break; |
+ } |
case JS_MODULE_TYPE: { |
accumulator->Add("<JS Module>"); |
break; |
@@ -1546,6 +1550,7 @@ void HeapObject::IterateBody(InstanceType type, int object_size, |
break; |
case JS_OBJECT_TYPE: |
case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
+ case JS_GENERATOR_OBJECT_TYPE: |
case JS_MODULE_TYPE: |
case JS_VALUE_TYPE: |
case JS_DATE_TYPE: |