Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index 86aaac5ce0d4e26979e318459cb3c8db26a551d7..781f8cd6bf2d5ba1a4401e7b6b177766160ab29d 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -528,7 +528,7 @@ void StringStream::PrintPrototype(JSFunction* fun, Object* receiver) { |
bool print_name = false; |
Isolate* isolate = fun->GetIsolate(); |
if (receiver->IsNull(isolate) || receiver->IsUndefined(isolate) || |
- receiver->IsJSProxy()) { |
+ receiver->IsTheHole(isolate) || receiver->IsJSProxy()) { |
print_name = true; |
} else if (isolate->context() != nullptr) { |
if (!receiver->IsJSObject()) { |