Index: src/accessors.cc |
=================================================================== |
--- src/accessors.cc (revision 1464) |
+++ src/accessors.cc (working copy) |
@@ -198,6 +198,24 @@ |
// |
+// Accessors::ScriptId |
+// |
+ |
+ |
+Object* Accessors::ScriptGetId(Object* object, void*) { |
+ Object* script = JSValue::cast(object)->value(); |
+ return Script::cast(script)->id(); |
+} |
+ |
+ |
+const AccessorDescriptor Accessors::ScriptId = { |
+ ScriptGetId, |
+ IllegalSetter, |
+ 0 |
+}; |
+ |
+ |
+// |
// Accessors::ScriptLineOffset |
// |