| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index bd066e31d2cc8d7638650c74a6889ae2a76420a5..c6ccf362488e0406c9e88ddcbb46dabfb7ebd73e 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -2834,6 +2834,11 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
| Handle<Object> uninitialized =
|
| TypeFeedbackInfo::UninitializedSentinel(isolate());
|
| StoreFeedbackVectorSlot(expr->CallNewFeedbackSlot(), uninitialized);
|
| + StoreFeedbackVectorSlot(expr->AllocationSiteFeedbackSlot(),
|
| + isolate()->factory()->NewAllocationSite());
|
| + ASSERT(expr->AllocationSiteFeedbackSlot() ==
|
| + expr->CallNewFeedbackSlot() + 1);
|
| +
|
| __ Move(rbx, FeedbackVector());
|
| __ Move(rdx, Smi::FromInt(expr->CallNewFeedbackSlot()));
|
|
|
|
|