Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 680677d43f31741761c1269e536028997a4d6cb5..bbd392e59127753c2a1b3669492a88c892311405 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4925,6 +4925,9 @@ class Code: public HeapObject { |
// [deoptimization_data]: Array containing data for deopt. |
DECL_ACCESSORS(deoptimization_data, FixedArray) |
+ // [source_position_table]: ByteArray for the source positions table. |
+ DECL_ACCESSORS(source_position_table, ByteArray) |
+ |
// [raw_type_feedback_info]: This field stores various things, depending on |
// the kind of the code object. |
// FUNCTION => type feedback information. |
@@ -5246,9 +5249,11 @@ class Code: public HeapObject { |
static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize; |
static const int kDeoptimizationDataOffset = |
kHandlerTableOffset + kPointerSize; |
+ static const int kSourcePositionTableOffset = |
+ kDeoptimizationDataOffset + kPointerSize; |
// For FUNCTION kind, we store the type feedback info here. |
static const int kTypeFeedbackInfoOffset = |
- kDeoptimizationDataOffset + kPointerSize; |
+ kSourcePositionTableOffset + kPointerSize; |
static const int kNextCodeLinkOffset = kTypeFeedbackInfoOffset + kPointerSize; |
static const int kGCMetadataOffset = kNextCodeLinkOffset + kPointerSize; |
static const int kInstructionSizeOffset = kGCMetadataOffset + kPointerSize; |