| Index: src/accessors.h
|
| diff --git a/src/accessors.h b/src/accessors.h
|
| index 4c8a0b2b7a9a33b0a75fc5a17c4efc9165728ddf..ba02bf2f7b378a49cd513011190364739bb3db30 100644
|
| --- a/src/accessors.h
|
| +++ b/src/accessors.h
|
| @@ -44,6 +44,12 @@ class AccessorInfo;
|
| V(ScriptIsEmbedderDebugScript) \
|
| V(StringLength)
|
|
|
| +#define ACCESSOR_SETTER_LIST(V) \
|
| + V(ReconfigureToDataProperty) \
|
| + V(ObservedReconfigureToDataProperty) \
|
| + V(ArrayLengthSetter) \
|
| + V(FunctionPrototypeSetter)
|
| +
|
| // Accessors contains all predefined proxy accessors.
|
|
|
| class Accessors : public AllStatic {
|
| @@ -53,16 +59,18 @@ class Accessors : public AllStatic {
|
| static void name##Getter( \
|
| v8::Local<v8::Name> name, \
|
| const v8::PropertyCallbackInfo<v8::Value>& info); \
|
| - static void name##Setter( \
|
| - v8::Local<v8::Name> name, \
|
| - v8::Local<v8::Value> value, \
|
| - const v8::PropertyCallbackInfo<void>& info); \
|
| static Handle<AccessorInfo> name##Info( \
|
| Isolate* isolate, \
|
| PropertyAttributes attributes);
|
| ACCESSOR_INFO_LIST(ACCESSOR_INFO_DECLARATION)
|
| #undef ACCESSOR_INFO_DECLARATION
|
|
|
| +#define ACCESSOR_SETTER_DECLARATION(name) \
|
| + static void name(v8::Local<v8::Name> name, v8::Local<v8::Value> value, \
|
| + const v8::PropertyCallbackInfo<void>& info);
|
| + ACCESSOR_SETTER_LIST(ACCESSOR_SETTER_DECLARATION)
|
| +#undef ACCESSOR_SETTER_DECLARATION
|
| +
|
| enum DescriptorId {
|
| #define ACCESSOR_INFO_DECLARATION(name) \
|
| k##name##Getter, \
|
|
|