| Index: src/mips/stub-cache-mips.cc
|
| diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc
|
| index 52211904d9de4d73e407be4e2f3d6002ac45ae22..945fc52cc725cca30c89aa494332c80febfeb0e9 100644
|
| --- a/src/mips/stub-cache-mips.cc
|
| +++ b/src/mips/stub-cache-mips.cc
|
| @@ -1744,11 +1744,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);
|
| __ li(a0, Operand(argc));
|
| - __ li(a2, Operand(kind_feedback_cell));
|
| + __ li(a2, Operand(site_feedback_cell));
|
| __ li(a1, Operand(function));
|
|
|
| ArrayConstructorStub stub(isolate());
|
|
|