Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 0486c3ee3f4f19a17f021857f6f2344ce27a447c..34de3e4c74b5e876b395f136f8ee4379f605a0b3 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1982,7 +1982,7 @@ class CallNew final : public Expression { |
// Type feedback information. |
virtual FeedbackVectorRequirements ComputeFeedbackRequirements( |
Isolate* isolate, const ICSlotCache* cache) override { |
- return FeedbackVectorRequirements(FLAG_pretenuring_call_new ? 2 : 1, 0); |
+ return FeedbackVectorRequirements(1, 0); |
} |
void SetFirstFeedbackSlot(FeedbackVectorSlot slot) override { |
callnew_feedback_slot_ = slot; |
@@ -1992,10 +1992,6 @@ class CallNew final : public Expression { |
DCHECK(!callnew_feedback_slot_.IsInvalid()); |
return callnew_feedback_slot_; |
} |
- FeedbackVectorSlot AllocationSiteFeedbackSlot() { |
- DCHECK(FLAG_pretenuring_call_new); |
- return CallNewFeedbackSlot().next(); |
- } |
bool IsMonomorphic() override { return is_monomorphic_; } |
Handle<JSFunction> target() const { return target_; } |