Index: src/ic/handler-configuration-inl.h |
diff --git a/src/ic/handler-configuration-inl.h b/src/ic/handler-configuration-inl.h |
index 505d67cf42bac03dc17dbfe7ac6c2f20c2c82535..8aa887d2b67a1499f79cb9f71229eca63a0e1328 100644 |
--- a/src/ic/handler-configuration-inl.h |
+++ b/src/ic/handler-configuration-inl.h |
@@ -104,7 +104,8 @@ Handle<Object> StoreHandler::StoreField(Isolate* isolate, Kind kind, |
int value_index = DescriptorArray::ToValueIndex(descriptor); |
DCHECK(kind == kStoreField || kind == kTransitionToField); |
- DCHECK_IMPLIES(kind == kStoreField, !extend_storage); |
+ DCHECK_IMPLIES(extend_storage, kind == kTransitionToField); |
+ DCHECK_IMPLIES(field_index.is_inobject(), !extend_storage); |
int config = StoreHandler::KindBits::encode(kind) | |
StoreHandler::ExtendStorageBits::encode(extend_storage) | |