28 #ifndef V8_ACCESSORS_H_
29 #define V8_ACCESSORS_H_
39 #define ACCESSOR_DESCRIPTOR_LIST(V) \
40 V(FunctionPrototype) \
43 V(FunctionArguments) \
51 V(ScriptColumnOffset) \
54 V(ScriptCompilationType) \
56 V(ScriptContextData) \
57 V(ScriptEvalFromScript) \
58 V(ScriptEvalFromScriptPosition) \
59 V(ScriptEvalFromFunctionName) \
67 #define ACCESSOR_DESCRIPTOR_DECLARATION(name) \
68 static const AccessorDescriptor name;
70 #undef ACCESSOR_DESCRIPTOR_DECLARATION
73 #define ACCESSOR_DESCRIPTOR_DECLARATION(name) \
76 #undef ACCESSOR_DESCRIPTOR_DECLARATION
90 static MaybeObject* FunctionGetLength(
Object*
object,
void*);
91 static MaybeObject* FunctionGetName(
Object*
object,
void*);
92 static MaybeObject* FunctionGetCaller(
Object*
object,
void*);
95 static MaybeObject* ArrayGetLength(
Object*
object,
void*);
96 static MaybeObject* StringGetLength(
Object*
object,
void*);
97 static MaybeObject* ScriptGetName(
Object*
object,
void*);
98 static MaybeObject* ScriptGetId(
Object*
object,
void*);
99 static MaybeObject* ScriptGetSource(
Object*
object,
void*);
100 static MaybeObject* ScriptGetLineOffset(
Object*
object,
void*);
101 static MaybeObject* ScriptGetColumnOffset(
Object*
object,
void*);
102 static MaybeObject* ScriptGetData(
Object*
object,
void*);
103 static MaybeObject* ScriptGetType(
Object*
object,
void*);
104 static MaybeObject* ScriptGetCompilationType(
Object*
object,
void*);
105 static MaybeObject* ScriptGetLineEnds(
Object*
object,
void*);
106 static MaybeObject* ScriptGetContextData(
Object*
object,
void*);
107 static MaybeObject* ScriptGetEvalFromScript(
Object*
object,
void*);
108 static MaybeObject* ScriptGetEvalFromScriptPosition(
Object*
object,
void*);
109 static MaybeObject* ScriptGetEvalFromFunctionName(
Object*
object,
void*);
110 static MaybeObject* ObjectGetPrototype(
Object* receiver,
void*);
111 static MaybeObject* ObjectSetPrototype(
JSObject* receiver,
118 static Object* IllegalGetAccessor(
Object*
object,
void*);
119 static MaybeObject* ReadOnlySetAccessor(
JSObject*,
Object* value,
void*);
124 #endif // V8_ACCESSORS_H_
#define ACCESSOR_DESCRIPTOR_DECLARATION(name)
static MaybeObject * FunctionGetArguments(Object *object, void *)
#define ACCESSOR_DESCRIPTOR_LIST(V)
static MUST_USE_RESULT MaybeObject * FunctionSetPrototype(JSObject *object, Object *value, void *)
static MUST_USE_RESULT MaybeObject * FunctionGetPrototype(Object *object, void *)