Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 244e66d4d116514df95ea8d47bc4e25345218c98..b9bc799ccac02fe0ba9bd63a7b57104a53099264 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -349,7 +349,9 @@ bool Object::IsLayoutDescriptor() const { |
return IsSmi() || IsFixedTypedArrayBase(); |
} |
-bool HeapObject::IsTypeFeedbackVector() const { return IsFixedArray(); } |
+bool HeapObject::IsTypeFeedbackVector() const { |
+ return map() == GetHeap()->type_feedback_vector_map(); |
+} |
bool HeapObject::IsTypeFeedbackMetadata() const { return IsFixedArray(); } |