Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index 1527032af76330bbe933391bc3078f09a2b64d3f..fa6d579122b618554de15db315a823262c5dfc52 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -129,7 +129,8 @@ Handle<JSReceiver> LookupIterator::GetRootForNonJSReceiver( |
Handle<JSValue>::cast(result)->set_value(*receiver); |
return result; |
} |
- auto root = handle(receiver->GetRootMap(isolate)->prototype(), isolate); |
+ auto root = |
+ handle(receiver->GetPrototypeChainRootMap(isolate)->prototype(), isolate); |
if (root->IsNull(isolate)) { |
unsigned int magic = 0xbbbbbbbb; |
isolate->PushStackTraceAndDie(magic, *receiver, NULL, magic); |