Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index c154f9add4be1d8b722a7c0161b7650bac417e87..fc41ef97db940e19a2225cbcb7e5ce610cbe948b 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -1728,11 +1728,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(r0, Operand(argc)); |
- __ mov(r2, Operand(kind_feedback_cell)); |
+ __ mov(r2, Operand(site_feedback_cell)); |
__ mov(r1, Operand(function)); |
ArrayConstructorStub stub(isolate()); |