Index: src/feedback-vector-inl.h |
diff --git a/src/feedback-vector-inl.h b/src/feedback-vector-inl.h |
index 45c2cd26011b2ad01c94da4d0930f84a158c455f..b6512e20ff2b3cc3cf417efbd2298cb7d55cfe33 100644 |
--- a/src/feedback-vector-inl.h |
+++ b/src/feedback-vector-inl.h |
@@ -54,6 +54,7 @@ int FeedbackMetadata::GetSlotSize(FeedbackSlotKind kind) { |
case FeedbackSlotKind::kToBoolean: |
case FeedbackSlotKind::kLiteral: |
case FeedbackSlotKind::kCreateClosure: |
+ case FeedbackSlotKind::kTypeProfile: |
return 1; |
case FeedbackSlotKind::kCall: |
@@ -186,7 +187,8 @@ void FeedbackVector::ComputeCounts(int* with_type_info, int* generic, |
case FeedbackSlotKind::kStoreOwnNamed: |
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) { |