Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 3f0dec1dd7dc165b25857418e0c2d01320439671..e5e3e5438d0e80c3155f26799ede939b0c8dfd95 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -3108,12 +3108,6 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ movp(rdi, Operand(rsp, arg_count * kPointerSize)); |
// Record call targets in unoptimized code, but not in the snapshot. |
- if (FLAG_pretenuring_call_new) { |
- EnsureSlotContainsAllocationSite(expr->AllocationSiteFeedbackSlot()); |
- DCHECK(expr->AllocationSiteFeedbackSlot().ToInt() == |
- expr->CallNewFeedbackSlot().ToInt() + 1); |
- } |
- |
__ Move(rbx, FeedbackVector()); |
__ Move(rdx, SmiFromSlot(expr->CallNewFeedbackSlot())); |
@@ -3154,15 +3148,6 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
__ movp(rdi, Operand(rsp, arg_count * kPointerSize)); |
// Record call targets in unoptimized code. |
- if (FLAG_pretenuring_call_new) { |
- UNREACHABLE(); |
- /* TODO(dslomov): support pretenuring. |
- EnsureSlotContainsAllocationSite(expr->AllocationSiteFeedbackSlot()); |
- DCHECK(expr->AllocationSiteFeedbackSlot().ToInt() == |
- expr->CallNewFeedbackSlot().ToInt() + 1); |
- */ |
- } |
- |
__ Move(rbx, FeedbackVector()); |
__ Move(rdx, SmiFromSlot(expr->CallFeedbackSlot())); |