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
This commit is contained in:
lrn@chromium.org 2011-10-06 10:54:35 +00:00
parent 1f12cc4099
commit 918922b304

View File

@ -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;
}