Index: src/accessors.cc |
=================================================================== |
--- src/accessors.cc (revision 1220) |
+++ src/accessors.cc (working copy) |
@@ -252,6 +252,25 @@ |
// |
+// Accessors::ScriptGetLineEnds |
+// |
+ |
+ |
+Object* Accessors::ScriptGetLineEnds(Object* object, void*) { |
+ Object* script = JSValue::cast(object)->value(); |
+ Script::cast(script)->InitLineEnds(); |
+ return Script::cast(script)->line_ends(); |
+} |
+ |
+ |
+const AccessorDescriptor Accessors::ScriptLineEnds = { |
+ ScriptGetLineEnds, |
+ IllegalSetter, |
+ 0 |
+}; |
+ |
+ |
+// |
// Accessors::FunctionPrototype |
// |