From: verwaest@chromium.org Date: Wed, 11 Jun 2014 14:03:13 +0000 (+0000) Subject: Correctly lookup starting at the holder X-Git-Tag: upstream/4.7.83~8736 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15f719df6514862857e7e987403f3a317e8a37e1;p=platform%2Fupstream%2Fv8.git Correctly lookup starting at the holder BUG= R=yangguo@chromium.org Review URL: https://codereview.chromium.org/329153002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21771 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/api.cc b/src/api.cc index 91c2856..cc9cd3a 100644 --- a/src/api.cc +++ b/src/api.cc @@ -3518,7 +3518,9 @@ static Local GetPropertyByLookup(i::Isolate* isolate, // If the property being looked up is a callback, it can throw // an exception. EXCEPTION_PREAMBLE(isolate); - i::LookupIterator it(receiver, name); + i::LookupIterator it( + receiver, name, i::Handle(lookup->holder(), isolate), + i::LookupIterator::SKIP_INTERCEPTOR); i::Handle result; has_pending_exception = !i::Object::GetProperty(&it).ToHandle(&result); EXCEPTION_BAILOUT_CHECK(isolate, Local());