| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 6e58300478c4418c4cc1043bf5ff599d6dbd1b81..3ac601128b50c8dcbb8a3b7ca140a0b8c1f328ba 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2852,6 +2852,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);
|
| +
|
| __ LoadHeapObject(ebx, FeedbackVector());
|
| __ mov(edx, Immediate(Smi::FromInt(expr->CallNewFeedbackSlot())));
|
|
|
|
|