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:
parent
1f12cc4099
commit
918922b304
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user