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