Index: src/feedback-vector.cc |
diff --git a/src/feedback-vector.cc b/src/feedback-vector.cc |
index 670942a0c32b7dae0f56aa30106d05c4e8b7bc2d..c1539d8da19eb41accc9b08e2536d94c16aeadcd 100644 |
--- a/src/feedback-vector.cc |
+++ b/src/feedback-vector.cc |
@@ -147,6 +147,8 @@ const char* FeedbackMetadata::Kind2String(FeedbackSlotKind kind) { |
return "kCreateClosure"; |
case FeedbackSlotKind::kLiteral: |
return "LITERAL"; |
+ case FeedbackSlotKind::kTypeProfile: |
+ return "TYPE_PROFILE"; |
case FeedbackSlotKind::kGeneral: |
return "STUB"; |
case FeedbackSlotKind::kKindsNumber: |
@@ -216,6 +218,7 @@ Handle<FeedbackVector> FeedbackVector::New(Isolate* isolate, |
case FeedbackSlotKind::kStoreKeyedStrict: |
case FeedbackSlotKind::kStoreDataPropertyInLiteral: |
case FeedbackSlotKind::kGeneral: |
+ case FeedbackSlotKind::kTypeProfile: |
array->set(index, *uninitialized_sentinel, SKIP_WRITE_BARRIER); |
break; |
@@ -332,7 +335,8 @@ void FeedbackVector::ClearSlots(JSFunction* host_function) { |
break; |
} |
case FeedbackSlotKind::kCreateClosure: { |
- break; |
+ case FeedbackSlotKind::kTypeProfile: |
+ break; |
} |
case FeedbackSlotKind::kGeneral: { |
if (obj->IsHeapObject()) { |