Index: src/type-feedback-vector.cc |
diff --git a/src/type-feedback-vector.cc b/src/type-feedback-vector.cc |
index efefbffc5bbbe2016693d26bdb1bf3076369e3ed..3cf81f8c5f16228f2fece4935adcfe77e722b446 100644 |
--- a/src/type-feedback-vector.cc |
+++ b/src/type-feedback-vector.cc |
@@ -139,6 +139,8 @@ Handle<TypeFeedbackVector> TypeFeedbackVector::Copy( |
bool TypeFeedbackVector::SpecDiffersFrom( |
const ZoneFeedbackVectorSpec* other_spec) const { |
+ if (!FLAG_vector_ics) return false; |
+ |
if (other_spec->slots() != Slots() || other_spec->ic_slots() != ICSlots()) { |
return true; |
} |