Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 04c3e6837b05fe3853fc2888c8af71ce6feb4df7..977d89429976a66ed507324fc25344985e6f6963 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2375,34 +2375,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
} |
-void ArrayLengthStub::Generate(MacroAssembler* masm) { |
- Label miss; |
- Register receiver; |
- if (kind() == Code::KEYED_LOAD_IC) { |
- // ----------- S t a t e ------------- |
- // -- rax : key |
- // -- rdx : receiver |
- // -- rsp[0] : return address |
- // ----------------------------------- |
- __ Cmp(rax, masm->isolate()->factory()->length_string()); |
- __ j(not_equal, &miss); |
- receiver = rdx; |
- } else { |
- ASSERT(kind() == Code::LOAD_IC); |
- // ----------- S t a t e ------------- |
- // -- rax : receiver |
- // -- rcx : name |
- // -- rsp[0] : return address |
- // ----------------------------------- |
- receiver = rax; |
- } |
- |
- StubCompiler::GenerateLoadArrayLength(masm, receiver, r8, &miss); |
- __ bind(&miss); |
- StubCompiler::TailCallBuiltin(masm, StubCompiler::MissBuiltin(kind())); |
-} |
- |
- |
void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
Label miss; |
Register receiver; |