Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 1a1f5fd26437ea9e2b3a51915102251ef4e2d3d9..4b1e9ddaa8a308261fae0f37c74f6a6d4df9f721 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5403,6 +5403,10 @@ class Code: public HeapObject { |
// [source_position_table]: ByteArray for the source positions table. |
DECL_ACCESSORS(source_position_table, ByteArray) |
+ // [protected_instructions]: Fixed array containing protected instruction and |
+ // corresponding landing pad offsets. |
+ DECL_ACCESSORS(protected_instructions, FixedArray) |
+ |
// [raw_type_feedback_info]: This field stores various things, depending on |
// the kind of the code object. |
// FUNCTION => type feedback information. |
@@ -5785,7 +5789,9 @@ class Code: public HeapObject { |
static const int kConstantPoolOffset = kPrologueOffset + kIntSize; |
static const int kBuiltinIndexOffset = |
kConstantPoolOffset + kConstantPoolSize; |
- static const int kHeaderPaddingStart = kBuiltinIndexOffset + kIntSize; |
+ static const int kProtectedInstructionOffset = kBuiltinIndexOffset + kIntSize; |
+ static const int kHeaderPaddingStart = |
+ kProtectedInstructionOffset + kPointerSize; |
// Add padding to align the instruction start following right after |
// the Code object header. |