| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index a273d570e2c63d3dedae5c4516f4318c9fdd9d48..a61454ed7c9b2503ceec3dc6bbe679a7ce5bb958 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -3185,12 +3185,6 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
| __ ld(a1, MemOperand(sp, arg_count * kPointerSize));
|
|
|
| // Record call targets in unoptimized code.
|
| - if (FLAG_pretenuring_call_new) {
|
| - EnsureSlotContainsAllocationSite(expr->AllocationSiteFeedbackSlot());
|
| - DCHECK(expr->AllocationSiteFeedbackSlot().ToInt() ==
|
| - expr->CallNewFeedbackSlot().ToInt() + 1);
|
| - }
|
| -
|
| __ li(a2, FeedbackVector());
|
| __ li(a3, Operand(SmiFromSlot(expr->CallNewFeedbackSlot())));
|
|
|
| @@ -3231,15 +3225,6 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) {
|
| __ ld(a1, MemOperand(sp, 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);
|
| - */
|
| - }
|
| -
|
| __ li(a2, FeedbackVector());
|
| __ li(a3, Operand(SmiFromSlot(expr->CallFeedbackSlot())));
|
|
|
|
|