Index: src/accessors.cc |
=================================================================== |
--- src/accessors.cc (revision 1746) |
+++ src/accessors.cc (working copy) |
@@ -252,6 +252,24 @@ |
// |
+// Accessors::ScriptData |
+// |
+ |
+ |
+Object* Accessors::ScriptGetData(Object* object, void*) { |
+ Object* script = JSValue::cast(object)->value(); |
+ return Script::cast(script)->data(); |
+} |
+ |
+ |
+const AccessorDescriptor Accessors::ScriptData = { |
+ ScriptGetData, |
+ IllegalSetter, |
+ 0 |
+}; |
+ |
+ |
+// |
// Accessors::ScriptType |
// |