Index: src/feedback-vector.h |
diff --git a/src/feedback-vector.h b/src/feedback-vector.h |
index 15625e98b3fe9581047f66682d0982bfa69a03df..e0f015797e8ca5b16b05dce19a49141a4db486cb 100644 |
--- a/src/feedback-vector.h |
+++ b/src/feedback-vector.h |
@@ -35,6 +35,7 @@ enum class FeedbackSlotKind { |
kCompareOp, |
kToBoolean, |
kStoreDataPropertyInLiteral, |
+ kTypeProfile, |
kCreateClosure, |
kLiteral, |
// This is a general purpose slot that occupies one feedback vector element. |
@@ -140,6 +141,11 @@ class FeedbackVectorSpecBase { |
return AddSlot(FeedbackSlotKind::kStoreDataPropertyInLiteral); |
} |
+ FeedbackSlot AddTypeProfileSlot() { |
+ DCHECK(FLAG_type_profile); |
+ return AddSlot(FeedbackSlotKind::kTypeProfile); |
+ } |
+ |
#ifdef OBJECT_PRINT |
// For gdb debugging. |
void Print(); |
@@ -713,8 +719,8 @@ class StoreDataPropertyInLiteralICNexus : public FeedbackNexus { |
StoreDataPropertyInLiteralICNexus(Handle<FeedbackVector> vector, |
FeedbackSlot slot) |
: FeedbackNexus(vector, slot) { |
- DCHECK_EQ(FeedbackSlotKind::kStoreDataPropertyInLiteral, |
- vector->GetKind(slot)); |
+ // DCHECK_EQ(FeedbackSlotKind::kStoreDataPropertyInLiteral, |
+ // vector->GetKind(slot)); |
} |
StoreDataPropertyInLiteralICNexus(FeedbackVector* vector, FeedbackSlot slot) |
: FeedbackNexus(vector, slot) { |