Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index e6417c92edde4d3eb63123469c65dcabc9317cf4..7b73132bf06a4a8bb2170e9529665b3e86a70c99 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4380,6 +4380,9 @@ class BytecodeArray : public FixedArrayBase { |
// Accessors for the constant pool. |
DECL_ACCESSORS(constant_pool, FixedArray) |
+ // Accessors for handler table containing offsets of exception handlers. |
+ DECL_ACCESSORS(handler_table, FixedArray) |
+ |
DECLARE_CAST(BytecodeArray) |
// Dispatched behavior. |
@@ -4394,7 +4397,8 @@ class BytecodeArray : public FixedArrayBase { |
static const int kFrameSizeOffset = FixedArrayBase::kHeaderSize; |
static const int kParameterSizeOffset = kFrameSizeOffset + kIntSize; |
static const int kConstantPoolOffset = kParameterSizeOffset + kIntSize; |
- static const int kHeaderSize = kConstantPoolOffset + kPointerSize; |
+ static const int kHandlerTableOffset = kConstantPoolOffset + kPointerSize; |
+ static const int kHeaderSize = kHandlerTableOffset + kPointerSize; |
static const int kAlignedSize = OBJECT_POINTER_ALIGN(kHeaderSize); |