| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index a696b4957621fe20c6bbc9141bb1c994b9c3c9de..ccb376a0205cb7ed948bbef746a1692411ef9fd3 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -2916,6 +2916,13 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
| Handle<Object> uninitialized =
|
| TypeFeedbackInfo::UninitializedSentinel(isolate());
|
| StoreFeedbackVectorSlot(expr->CallNewFeedbackSlot(), uninitialized);
|
| + if (FLAG_pretenuring_call_new) {
|
| + StoreFeedbackVectorSlot(expr->AllocationSiteFeedbackSlot(),
|
| + isolate()->factory()->NewAllocationSite());
|
| + ASSERT(expr->AllocationSiteFeedbackSlot() ==
|
| + expr->CallNewFeedbackSlot() + 1);
|
| + }
|
| +
|
| __ li(a2, FeedbackVector());
|
| __ li(a3, Operand(Smi::FromInt(expr->CallNewFeedbackSlot())));
|
|
|
|
|