Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 1974a5de607c01df32f3fe85e3a024092389c313..c29c9b20f1ae75c12be5217d8eaced4678e872e0 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -1118,6 +1118,10 @@ void JSObject::JSObjectShortPrint(StringStream* accumulator) { |
} |
break; |
} |
+ case JS_MODULE_TYPE: { |
+ accumulator->Add("<JS Module>"); |
+ break; |
+ } |
// All other JSObjects are rather similar to each other (JSObject, |
// JSGlobalProxy, JSGlobalObject, JSUndetectableObject, JSValue). |
default: { |