Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index db0831c405c27ea65ae6525c9ad99af9cb18bb8b..a00eb0de5a47c908c55384af8ce25fa83c8ac13c 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2044,7 +2044,8 @@ THREADED_TEST(ExecutableAccessorIsPreservedOnAttributeChange) { |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
i::LookupResult lookup(i_isolate); |
i::Handle<i::String> name(v8::Utils::OpenHandle(*v8_str("length"))); |
- i::LookupIterator it(a, name, i::LookupIterator::OWN_PROPERTY); |
+ i::LookupIterator it(a, name, i::LookupIterator::OWN_SKIP_INTERCEPTOR); |
+ CHECK_NE(i::LookupIterator::ACCESS_CHECK, it.state()); |
CHECK(it.HasProperty()); |
CHECK(it.GetAccessors()->IsExecutableAccessorInfo()); |
} |