Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index 1c053ddf076ac166903b3e4d7ec2fa8dbef43ab2..e1adae9f249ce7af7da9142e7761dd141229acc7 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -1968,7 +1968,7 @@ |
// Type feedback information. |
void AssignFeedbackVectorSlots(Isolate* isolate, FeedbackVectorSpec* spec, |
FeedbackVectorSlotCache* cache) override { |
- callnew_feedback_slot_ = spec->AddConstructICSlot(); |
+ callnew_feedback_slot_ = spec->AddGeneralSlot(); |
} |
FeedbackVectorSlot CallNewFeedbackSlot() { |
@@ -1983,6 +1983,7 @@ |
} |
static int num_ids() { return parent_num_ids() + 1; } |
+ static int feedback_slots() { return 1; } |
BailoutId ReturnId() const { return BailoutId(local_id(0)); } |
void set_allocation_site(Handle<AllocationSite> site) { |