aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/string-stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/string-stream.cc')
-rw-r--r--deps/v8/src/string-stream.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/src/string-stream.cc b/deps/v8/src/string-stream.cc
index 43be8f1f18..02f6f1c2bb 100644
--- a/deps/v8/src/string-stream.cc
+++ b/deps/v8/src/string-stream.cc
@@ -537,6 +537,7 @@ void StringStream::PrintPrototype(JSFunction* fun, Object* receiver) {
for (PrototypeIterator iter(isolate, JSObject::cast(receiver),
PrototypeIterator::START_AT_RECEIVER);
!iter.IsAtEnd(); iter.Advance()) {
+ if (iter.GetCurrent()->IsJSProxy()) break;
Object* key = iter.GetCurrent<JSObject>()->SlowReverseLookup(fun);
if (!key->IsUndefined()) {
if (!name->IsString() ||