| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index 28e043d641284ae3635c127d09caaed5bcb91d65..87ea51c8ddd70bcfa1cd80ce917c2f286b98fa2b 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -1724,11 +1724,11 @@ Handle<Code> CallStubCompiler::CompileArrayCodeCall(
|
| GenerateLoadFunctionFromCell(cell, function, &miss);
|
| }
|
|
|
| - Handle<Smi> kind(Smi::FromInt(GetInitialFastElementsKind()), isolate());
|
| - Handle<Cell> kind_feedback_cell =
|
| - isolate()->factory()->NewCell(kind);
|
| + Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite();
|
| + site->set_payload(Smi::FromInt(GetInitialFastElementsKind()));
|
| + Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site);
|
| __ mov(eax, Immediate(argc));
|
| - __ mov(ebx, kind_feedback_cell);
|
| + __ mov(ebx, site_feedback_cell);
|
| __ mov(edi, function);
|
|
|
| ArrayConstructorStub stub(isolate());
|
|
|