Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index a20702c22c19e81a620eed6912b33ef197071460..8b11922190879d2f2deddae6cb106e89475d48da 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -1571,39 +1571,6 @@ Handle<Code> CallStubCompiler::CompileCallField(Handle<JSObject> object, |
} |
-Handle<Code> CallStubCompiler::CompileArrayCodeCall( |
- Handle<Object> object, |
- Handle<JSObject> holder, |
- Handle<Cell> cell, |
- Handle<JSFunction> function, |
- Handle<String> name, |
- Code::StubType type) { |
- Label miss; |
- |
- HandlerFrontendHeader(object, holder, name, RECEIVER_MAP_CHECK, &miss); |
- if (!cell.is_null()) { |
- ASSERT(cell->value() == *function); |
- GenerateLoadFunctionFromCell(cell, function, &miss); |
- } |
- |
- Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite(); |
- site->SetElementsKind(GetInitialFastElementsKind()); |
- Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site); |
- const int argc = arguments().immediate(); |
- __ mov(r0, Operand(argc)); |
- __ mov(r2, Operand(site_feedback_cell)); |
- __ mov(r1, Operand(function)); |
- |
- ArrayConstructorStub stub(isolate()); |
- __ TailCallStub(&stub); |
- |
- HandlerFrontendFooter(&miss); |
- |
- // Return the generated code. |
- return GetCode(type, name); |
-} |
- |
- |
Handle<Code> CallStubCompiler::CompileArrayPushCall( |
Handle<Object> object, |
Handle<JSObject> holder, |