Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 030dc0e58cfaa723a063ecf08f81a3f484c187b2..1b3e7ff99421d43c908bc4500c0e295582bbc00f 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -146,6 +146,7 @@ MUST_USE_RESULT MaybeHandle<Object> ReplaceAccessorWithDataProperty( |
CHECK(it.HasAccess()); |
it.Next(); |
} |
+ DCHECK(holder.is_identical_to(it.GetHolder<JSObject>())); |
CHECK_EQ(LookupIterator::ACCESSOR, it.state()); |
it.ReconfigureDataProperty(value, it.property_attributes()); |
return value; |