| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 429bd49c3399ec2d8bb620d1d46501ad840a1cf2..8f46d494a0b2268f481760fa3a5220d963d548d2 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4376,6 +4376,10 @@ class BytecodeArray : public FixedArrayBase {
|
| // Accessors for handler table containing offsets of exception handlers.
|
| DECL_ACCESSORS(handler_table, FixedArray)
|
|
|
| + // Accessors for source position table containing mappings between byte code
|
| + // offset and source position.
|
| + DECL_ACCESSORS(source_position_table, FixedArray)
|
| +
|
| DECLARE_CAST(BytecodeArray)
|
|
|
| // Dispatched behavior.
|
| @@ -4391,7 +4395,9 @@ class BytecodeArray : public FixedArrayBase {
|
| static const int kParameterSizeOffset = kFrameSizeOffset + kIntSize;
|
| static const int kConstantPoolOffset = kParameterSizeOffset + kIntSize;
|
| static const int kHandlerTableOffset = kConstantPoolOffset + kPointerSize;
|
| - static const int kHeaderSize = kHandlerTableOffset + kPointerSize;
|
| + static const int kSourcePositionTableOffset =
|
| + kHandlerTableOffset + kPointerSize;
|
| + static const int kHeaderSize = kSourcePositionTableOffset + kPointerSize;
|
|
|
| static const int kAlignedSize = OBJECT_POINTER_ALIGN(kHeaderSize);
|
|
|
|
|