Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d8c04247577f6a44f9b2db560dd88e4da31057ff..6c6e721938343b383a089503af0c29ba09e1df55 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4858,6 +4858,13 @@ class BytecodeArray : public FixedArrayBase { |
// Maximal length of a single BytecodeArray. |
static const int kMaxLength = kMaxSize - kHeaderSize; |
+ static const int kPointerFieldsBeginOffset = kConstantPoolOffset; |
+ static const int kPointerFieldsEndOffset = kFrameSizeOffset; |
+ |
+ typedef FixedBodyDescriptor<kPointerFieldsBeginOffset, |
+ kPointerFieldsEndOffset, kHeaderSize> |
+ MarkingBodyDescriptor; |
+ |
class BodyDescriptor; |
private: |
@@ -8917,6 +8924,10 @@ class AllocationSite: public Struct { |
static const int kPointerFieldsBeginOffset = kTransitionInfoOffset; |
static const int kPointerFieldsEndOffset = kWeakNextOffset; |
+ typedef FixedBodyDescriptor<kPointerFieldsBeginOffset, |
+ kPointerFieldsEndOffset, kSize> |
+ MarkingBodyDescriptor; |
+ |
// For other visitors, use the fixed body descriptor below. |
typedef FixedBodyDescriptor<HeapObject::kHeaderSize, kSize, kSize> |
BodyDescriptor; |
@@ -10167,9 +10178,6 @@ class PropertyCell : public HeapObject { |
static const int kDependentCodeOffset = kValueOffset + kPointerSize; |
static const int kSize = kDependentCodeOffset + kPointerSize; |
- static const int kPointerFieldsBeginOffset = kValueOffset; |
- static const int kPointerFieldsEndOffset = kSize; |
- |
typedef FixedBodyDescriptor<kValueOffset, |
kSize, |
kSize> BodyDescriptor; |