Index: src/feedback-vector-inl.h |
diff --git a/src/feedback-vector-inl.h b/src/feedback-vector-inl.h |
index 4bab1f50e41e1f691630e776c8f6da2fa782bbca..62855df5f291999d4049f1e41103f2a0647ec8e6 100644 |
--- a/src/feedback-vector-inl.h |
+++ b/src/feedback-vector-inl.h |
@@ -66,6 +66,7 @@ int FeedbackMetadata::GetSlotSize(FeedbackSlotKind kind) { |
case FeedbackSlotKind::kStoreKeyedSloppy: |
case FeedbackSlotKind::kStoreKeyedStrict: |
case FeedbackSlotKind::kStoreDataPropertyInLiteral: |
+ case FeedbackSlotKind::kTypeProfile: |
return 2; |
case FeedbackSlotKind::kInvalid: |
@@ -184,7 +185,8 @@ void FeedbackVector::ComputeCounts(int* with_type_info, int* generic, |
case FeedbackSlotKind::kStorePropertyStrict: |
case FeedbackSlotKind::kStoreKeyedSloppy: |
case FeedbackSlotKind::kStoreKeyedStrict: |
- case FeedbackSlotKind::kStoreDataPropertyInLiteral: { |
+ case FeedbackSlotKind::kStoreDataPropertyInLiteral: |
+ case FeedbackSlotKind::kTypeProfile: { |
if (obj->IsWeakCell() || obj->IsFixedArray() || obj->IsString()) { |
with++; |
} else if (obj == megamorphic_sentinel) { |