Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index b7948b14d63f0b666f9d8c032bd8043a0d87c350..cc9ba3ed98464fd23a6b3103816baba3e333638c 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -1556,39 +1556,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(); |
- __ li(a0, Operand(argc)); |
- __ li(a2, Operand(site_feedback_cell)); |
- __ li(a1, 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, |