Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index 86aaac5ce0d4e26979e318459cb3c8db26a551d7..6e61c372d1119c8eeea7f02f85b8cdc050df650b 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -527,7 +527,7 @@ |
Object* name = fun->shared()->name(); |
bool print_name = false; |
Isolate* isolate = fun->GetIsolate(); |
- if (receiver->IsNull(isolate) || receiver->IsUndefined(isolate) || |
+ if (receiver->IsNull() || receiver->IsUndefined(isolate) || |
receiver->IsJSProxy()) { |
print_name = true; |
} else if (isolate->context() != nullptr) { |