Commit 918922b3 authored by lrn@chromium.org's avatar lrn@chromium.org

Change implementation of JSObject::HasHiddenProperties to work as before 9510.

Review URL: http://codereview.chromium.org/8161014

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9538 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1f12cc40
......@@ -3423,9 +3423,9 @@ void JSObject::DeleteHiddenProperty(String* key) {
bool JSObject::HasHiddenProperties() {
LookupResult lookup;
LocalLookupRealNamedProperty(GetHeap()->hidden_symbol(), &lookup);
return lookup.IsFound();
return GetPropertyAttributePostInterceptor(this,
GetHeap()->hidden_symbol(),
false) != ABSENT;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment