| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index c2e4983abe2c3f5ef8826d752af0c692dcd013cd..d30bda2ad3986abe8c6217f60ce1059e15e0c541 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1833,6 +1833,10 @@ class JSReceiver: public HeapObject {
|
| Handle<Object> key, PropertyDescriptor* desc,
|
| ShouldThrow should_throw);
|
|
|
| + // "virtual" dispatcher to the correct [[CreateDataProperty]] implementation.
|
| + MUST_USE_RESULT static Maybe<bool> CreateDataProperty(LookupIterator* it,
|
| + Handle<Object> value);
|
| +
|
| // ES6 9.1.6.1
|
| static bool OrdinaryDefineOwnProperty(Isolate* isolate,
|
| Handle<JSObject> object,
|
| @@ -1879,6 +1883,8 @@ class JSReceiver: public HeapObject {
|
| // function that was used to instantiate the object).
|
| String* constructor_name();
|
|
|
| + Context* GetCreationContext();
|
| +
|
| MUST_USE_RESULT static inline Maybe<PropertyAttributes> GetPropertyAttributes(
|
| Handle<JSReceiver> object, Handle<Name> name);
|
| MUST_USE_RESULT static inline Maybe<PropertyAttributes>
|
| @@ -2463,8 +2469,6 @@ class JSObject: public JSReceiver {
|
|
|
| typedef FlexibleBodyDescriptor<kPropertiesOffset> BodyDescriptor;
|
|
|
| - Context* GetCreationContext();
|
| -
|
| // Enqueue change record for Object.observe. May cause GC.
|
| MUST_USE_RESULT static MaybeHandle<Object> EnqueueChangeRecord(
|
| Handle<JSObject> object, const char* type, Handle<Name> name,
|
|
|