Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index a404cd9cd468404254eb67ac9daef4f76871c7ee..eb79ba190f463f42b8ef0a449c6d376f136bc09f 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -134,7 +134,8 @@ Handle<JSObject> LookupIterator::GetStoreTarget() const { |
bool LookupIterator::HasAccess() const { |
DCHECK_EQ(ACCESS_CHECK, state_); |
- return isolate_->MayAccess(GetHolder<JSObject>()); |
+ return isolate_->MayAccess(handle(isolate_->context()), |
+ GetHolder<JSObject>()); |
} |