Index: src/objects-body-descriptors-inl.h |
diff --git a/src/objects-body-descriptors-inl.h b/src/objects-body-descriptors-inl.h |
index 5d9e09f187302de67a2eff022ab0c1bc479825ff..599d2bc3edbcaf8dda7d0b836f88e31da1bbcc2a 100644 |
--- a/src/objects-body-descriptors-inl.h |
+++ b/src/objects-body-descriptors-inl.h |
@@ -360,7 +360,10 @@ class Code::BodyDescriptor final : public BodyDescriptorBase { |
kSourcePositionTableOffset); |
STATIC_ASSERT(kSourcePositionTableOffset + kPointerSize == |
kTypeFeedbackInfoOffset); |
- STATIC_ASSERT(kTypeFeedbackInfoOffset + kPointerSize == kNextCodeLinkOffset); |
+ STATIC_ASSERT(kTypeFeedbackInfoOffset + kPointerSize == |
+ kProtectedInstructionOffset); |
+ STATIC_ASSERT(kProtectedInstructionOffset + kPointerSize == |
+ kNextCodeLinkOffset); |
static bool IsValidSlot(HeapObject* obj, int offset) { |
// Slots in code can't be invalid because we never trim code objects. |