diff options
author | Ryan <ry@tinyclouds.org> | 2009-06-08 18:34:06 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-06-08 18:34:06 +0200 |
commit | 696f02455792b368249bf9b013dde637b5ec31fd (patch) | |
tree | 95b2dbd6c2537df9df52f6627aac36fcf05f6a7a /deps/v8/src/accessors.h | |
parent | f6a7fe26574defaa807a13248102ebe0f23270af (diff) | |
download | node-696f02455792b368249bf9b013dde637b5ec31fd.tar.gz |
Upgrade to v8 1.2.7
Diffstat (limited to 'deps/v8/src/accessors.h')
-rw-r--r-- | deps/v8/src/accessors.h | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/deps/v8/src/accessors.h b/deps/v8/src/accessors.h index 1dd8fdd2f..51d322ec8 100644 --- a/deps/v8/src/accessors.h +++ b/deps/v8/src/accessors.h @@ -28,27 +28,31 @@ #ifndef V8_ACCESSORS_H_ #define V8_ACCESSORS_H_ -namespace v8 { namespace internal { +namespace v8 { +namespace internal { // The list of accessor descriptors. This is a second-order macro // taking a macro to be applied to all accessor descriptor names. #define ACCESSOR_DESCRIPTOR_LIST(V) \ - V(FunctionPrototype) \ - V(FunctionLength) \ - V(FunctionName) \ - V(FunctionArguments) \ - V(FunctionCaller) \ - V(ArrayLength) \ - V(StringLength) \ - V(ScriptSource) \ - V(ScriptName) \ - V(ScriptId) \ - V(ScriptLineOffset) \ - V(ScriptColumnOffset) \ - V(ScriptData) \ - V(ScriptType) \ - V(ScriptLineEnds) \ - V(ScriptContextData) \ + V(FunctionPrototype) \ + V(FunctionLength) \ + V(FunctionName) \ + V(FunctionArguments) \ + V(FunctionCaller) \ + V(ArrayLength) \ + V(StringLength) \ + V(ScriptSource) \ + V(ScriptName) \ + V(ScriptId) \ + V(ScriptLineOffset) \ + V(ScriptColumnOffset) \ + V(ScriptData) \ + V(ScriptType) \ + V(ScriptCompilationType) \ + V(ScriptLineEnds) \ + V(ScriptContextData) \ + V(ScriptEvalFromFunction) \ + V(ScriptEvalFromPosition) \ V(ObjectPrototype) // Accessors contains all predefined proxy accessors. @@ -88,8 +92,11 @@ class Accessors : public AllStatic { static Object* ScriptGetColumnOffset(Object* object, void*); static Object* ScriptGetData(Object* object, void*); static Object* ScriptGetType(Object* object, void*); + static Object* ScriptGetCompilationType(Object* object, void*); static Object* ScriptGetLineEnds(Object* object, void*); static Object* ScriptGetContextData(Object* object, void*); + static Object* ScriptGetEvalFromFunction(Object* object, void*); + static Object* ScriptGetEvalFromPosition(Object* object, void*); static Object* ObjectGetPrototype(Object* receiver, void*); static Object* ObjectSetPrototype(JSObject* receiver, Object* value, void*); |