Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 1464) |
+++ src/objects.h (working copy) |
@@ -2550,6 +2550,9 @@ |
// [name]: the script name. |
DECL_ACCESSORS(name, Object) |
+ // [id]: the script id. |
+ DECL_ACCESSORS(id, Object) |
+ |
// [line_offset]: script line offset in resource from where it was extracted. |
DECL_ACCESSORS(line_offset, Smi) |
@@ -2583,7 +2586,8 @@ |
static const int kWrapperOffset = kColumnOffsetOffset + kPointerSize; |
static const int kTypeOffset = kWrapperOffset + kPointerSize; |
static const int kLineEndsOffset = kTypeOffset + kPointerSize; |
- static const int kSize = kLineEndsOffset + kPointerSize; |
+ static const int kIdOffset = kLineEndsOffset + kPointerSize; |
+ static const int kSize = kIdOffset + kPointerSize; |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(Script); |