Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 6b393a049e2eeffadb85b40e867823a7957b7409..6cc47906309f4f2ff2dd5ca8b0f5d1907dd928ac 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4120,10 +4120,14 @@ class BytecodeArray : public FixedArrayBase { |
inline int parameter_count() const; |
inline void set_parameter_count(int number_of_parameters); |
+ // Accessors for the constant pool. |
+ DECL_ACCESSORS(constant_pool, FixedArray) |
+ |
DECLARE_CAST(BytecodeArray) |
// Dispatched behavior. |
inline int BytecodeArraySize(); |
+ inline void BytecodeArrayIterateBody(ObjectVisitor* v); |
DECLARE_PRINTER(BytecodeArray) |
DECLARE_VERIFIER(BytecodeArray) |
@@ -4133,7 +4137,8 @@ class BytecodeArray : public FixedArrayBase { |
// Layout description. |
static const int kFrameSizeOffset = FixedArrayBase::kHeaderSize; |
static const int kParameterSizeOffset = kFrameSizeOffset + kIntSize; |
- static const int kHeaderSize = kParameterSizeOffset + kIntSize; |
+ static const int kConstantPoolOffset = kParameterSizeOffset + kIntSize; |
+ static const int kHeaderSize = kConstantPoolOffset + kPointerSize; |
static const int kAlignedSize = OBJECT_POINTER_ALIGN(kHeaderSize); |