Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 1869) |
+++ src/objects.h (working copy) |
@@ -2638,6 +2638,9 @@ |
// [data]: additional data associated with this script. |
DECL_ACCESSORS(data, Object) |
+ // [context_data]: context data for the context this script was compiled in. |
+ DECL_ACCESSORS(context_data, Object) |
+ |
// [wrapper]: the wrapper cache. |
DECL_ACCESSORS(wrapper, Proxy) |
@@ -2659,7 +2662,8 @@ |
static const int kLineOffsetOffset = kNameOffset + kPointerSize; |
static const int kColumnOffsetOffset = kLineOffsetOffset + kPointerSize; |
static const int kDataOffset = kColumnOffsetOffset + kPointerSize; |
- static const int kWrapperOffset = kDataOffset + kPointerSize; |
+ static const int kContextOffset = kDataOffset + kPointerSize; |
+ static const int kWrapperOffset = kContextOffset + kPointerSize; |
static const int kTypeOffset = kWrapperOffset + kPointerSize; |
static const int kLineEndsOffset = kTypeOffset + kPointerSize; |
static const int kIdOffset = kLineEndsOffset + kPointerSize; |