Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 834223261f301a88af8912c43f24da913ca7e93a..9e1ef630b50683924b993a9cf486011d82a77370 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -132,6 +132,7 @@ void HeapObject::HeapObjectPrint(FILE* out) { |
case JS_OBJECT_TYPE: // fall through |
case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
case JS_ARRAY_TYPE: |
+ case JS_GENERATOR_OBJECT_TYPE: |
case JS_REGEXP_TYPE: |
JSObject::cast(this)->JSObjectPrint(out); |
break; |
@@ -530,6 +531,7 @@ static const char* TypeToString(InstanceType type) { |
case ODDBALL_TYPE: return "ODDBALL"; |
case JS_GLOBAL_PROPERTY_CELL_TYPE: return "JS_GLOBAL_PROPERTY_CELL"; |
case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; |
+ case JS_GENERATOR_OBJECT_TYPE: return "JS_GENERATOR_OBJECT"; |
case JS_MODULE_TYPE: return "JS_MODULE"; |
case JS_FUNCTION_TYPE: return "JS_FUNCTION"; |
case CODE_TYPE: return "CODE"; |