Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index 9bb418c5a63a5c97f770a20e69a1a114b0e948df..bff95a8fc18d69240a36922977324c6b9091f39a 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -6954,7 +6954,7 @@ class HStoreNamedGeneric final : public HTemplateInstruction<3> { |
Handle<TypeFeedbackVector> feedback_vector() const { |
return feedback_vector_; |
} |
- bool HasVectorAndSlot() const { return FLAG_vector_stores; } |
+ bool HasVectorAndSlot() const { return true; } |
void SetVectorAndSlot(Handle<TypeFeedbackVector> vector, |
FeedbackVectorSlot slot) { |
feedback_vector_ = vector; |
@@ -7180,8 +7180,6 @@ class HStoreKeyedGeneric final : public HTemplateInstruction<4> { |
return feedback_vector_; |
} |
bool HasVectorAndSlot() const { |
- DCHECK(!(FLAG_vector_stores && initialization_state_ != MEGAMORPHIC) || |
- !feedback_vector_.is_null()); |
return !feedback_vector_.is_null(); |
} |
void SetVectorAndSlot(Handle<TypeFeedbackVector> vector, |