Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 5232) |
+++ src/objects.h (working copy) |
@@ -3608,7 +3608,9 @@ |
static Context* GlobalContextFromLiterals(FixedArray* literals); |
// Layout descriptors. |
- static const int kPrototypeOrInitialMapOffset = JSObject::kHeaderSize; |
+ static const int kCodeOffset = JSObject::kHeaderSize; |
+ static const int kPrototypeOrInitialMapOffset = |
+ kCodeOffset + kPointerSize; |
static const int kSharedFunctionInfoOffset = |
kPrototypeOrInitialMapOffset + kPointerSize; |
static const int kContextOffset = kSharedFunctionInfoOffset + kPointerSize; |