Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 9bc728d3116f4349dc1fd4bcfb42003aa292d382..47b0a856332e24cec0b4ff7e8ab0666d20ca9dc2 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -351,6 +351,26 @@ const AccessorDescriptor Accessors::ScriptColumnOffset = { |
// |
+// Accessors::ScriptData |
+// |
+ |
+ |
+MaybeObject* Accessors::ScriptGetData(Isolate* isolate, |
+ Object* object, |
+ void*) { |
+ Object* script = JSValue::cast(object)->value(); |
+ return Script::cast(script)->data(); |
+} |
+ |
+ |
+const AccessorDescriptor Accessors::ScriptData = { |
+ ScriptGetData, |
+ IllegalSetter, |
+ 0 |
+}; |
+ |
+ |
+// |
// Accessors::ScriptType |
// |