Index: src/type-feedback-vector.cc |
diff --git a/src/type-feedback-vector.cc b/src/type-feedback-vector.cc |
index 97d58613e99e452f40099f8f4a2d2d7d43493175..7b7b434f5600154d45b7eba03c37bed8eeb375b7 100644 |
--- a/src/type-feedback-vector.cc |
+++ b/src/type-feedback-vector.cc |
@@ -233,13 +233,11 @@ void TypeFeedbackVector::ClearSlotsImpl(SharedFunctionInfo* shared, |
break; |
} |
case FeedbackVectorSlotKind::STORE_IC: { |
- DCHECK(FLAG_vector_stores); |
StoreICNexus nexus(this, slot); |
nexus.Clear(shared->code()); |
break; |
} |
case FeedbackVectorSlotKind::KEYED_STORE_IC: { |
- DCHECK(FLAG_vector_stores); |
KeyedStoreICNexus nexus(this, slot); |
nexus.Clear(shared->code()); |
break; |
@@ -269,7 +267,6 @@ void TypeFeedbackVector::ClearSlotsImpl(SharedFunctionInfo* shared, |
// static |
void TypeFeedbackVector::ClearAllKeyedStoreICs(Isolate* isolate) { |
- DCHECK(FLAG_vector_stores); |
SharedFunctionInfo::Iterator iterator(isolate); |
SharedFunctionInfo* shared; |
while ((shared = iterator.Next())) { |
@@ -293,7 +290,6 @@ void TypeFeedbackVector::ClearKeyedStoreICs(SharedFunctionInfo* shared) { |
if (kind != FeedbackVectorSlotKind::KEYED_STORE_IC) continue; |
Object* obj = Get(slot); |
if (obj != uninitialized_sentinel) { |
- DCHECK(FLAG_vector_stores); |
KeyedStoreICNexus nexus(this, slot); |
nexus.Clear(host); |
} |