| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 6838f275b9643089032532046f816e5335797637..cb00bb2eb106fbb44d25b6ddd511b169a84c11f0 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1827,12 +1827,13 @@ class JSReceiver: public HeapObject {
|
| Handle<JSReceiver> object);
|
|
|
| enum KeyCollectionType { OWN_ONLY, INCLUDE_PROTOS };
|
| + enum IncludeSymbolNamedProperties { SKIP_SYMBOLS, INCLUDE_SYMBOLS };
|
|
|
| // Computes the enumerable keys for a JSObject. Used for implementing
|
| // "for (n in object) { }".
|
| MUST_USE_RESULT static MaybeHandle<FixedArray> GetKeys(
|
| - Handle<JSReceiver> object,
|
| - KeyCollectionType type);
|
| + Handle<JSReceiver> object, KeyCollectionType type,
|
| + IncludeSymbolNamedProperties include_symbols = SKIP_SYMBOLS);
|
|
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(JSReceiver);
|
| @@ -2030,7 +2031,7 @@ class JSObject: public JSReceiver {
|
| // Defines an AccessorPair property on the given object.
|
| // TODO(mstarzinger): Rename to SetAccessor().
|
| static MaybeHandle<Object> DefineAccessor(Handle<JSObject> object,
|
| - Handle<Name> name,
|
| + Handle<Object> name,
|
| Handle<Object> getter,
|
| Handle<Object> setter,
|
| PropertyAttributes attributes);
|
|
|