| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 61247426495e9666410fb8fd2c4ba79131a8500b..5fe65802c63e6c278ff009108ec917c27ea11a47 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -286,6 +286,24 @@ bool Object::KeyEquals(Object* second) {
|
| }
|
|
|
|
|
| +bool Object::FilterKey(PropertyAttributes filter) {
|
| + if ((filter & SYMBOLIC) && IsSymbol()) {
|
| + return true;
|
| + }
|
| +
|
| + if ((filter & PRIVATE_SYMBOL) && IsSymbol() &&
|
| + Symbol::cast(this)->is_private()) {
|
| + return true;
|
| + }
|
| +
|
| + if ((filter & STRING) && !IsSymbol()) {
|
| + return true;
|
| + }
|
| +
|
| + return false;
|
| +}
|
| +
|
| +
|
| Handle<Object> Object::NewStorageFor(Isolate* isolate,
|
| Handle<Object> object,
|
| Representation representation) {
|
|
|