| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index 22a2d33f53dc74805b660a8f78eebb155da366fd..4470387b2d605acb21c3b555c9867eba2660810f 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -3191,12 +3191,6 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
| __ ldr(r1, 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);
|
| - }
|
| -
|
| __ Move(r2, FeedbackVector());
|
| __ mov(r3, Operand(SmiFromSlot(expr->CallNewFeedbackSlot())));
|
|
|
| @@ -3237,15 +3231,6 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) {
|
| __ ldr(r1, 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);
|
| - */
|
| - }
|
| -
|
| __ Move(r2, FeedbackVector());
|
| __ mov(r3, Operand(SmiFromSlot(expr->CallFeedbackSlot())));
|
|
|
|
|