Index: src/ic/x64/ic-x64.cc |
diff --git a/src/ic/x64/ic-x64.cc b/src/ic/x64/ic-x64.cc |
index dc1b86b12f18a2cac5d7afb1b2b2a6a8c20081da..ad79f3042dbdb7c3b009eb21e0e3c894399451a6 100644 |
--- a/src/ic/x64/ic-x64.cc |
+++ b/src/ic/x64/ic-x64.cc |
@@ -722,31 +722,6 @@ static Operand GenerateUnmappedArgumentsLookup(MacroAssembler* masm, |
} |
-void KeyedLoadIC::GenerateSloppyArguments(MacroAssembler* masm) { |
- // The return address is on the stack. |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- Register key = LoadDescriptor::NameRegister(); |
- DCHECK(receiver.is(rdx)); |
- DCHECK(key.is(rcx)); |
- |
- Label slow, notin; |
- Operand mapped_location = GenerateMappedArgumentsLookup( |
- masm, receiver, key, rbx, rax, rdi, ¬in, &slow); |
- __ movp(rax, mapped_location); |
- __ Ret(); |
- __ bind(¬in); |
- // The unmapped lookup expects that the parameter map is in rbx. |
- Operand unmapped_location = |
- GenerateUnmappedArgumentsLookup(masm, key, rbx, rax, &slow); |
- __ CompareRoot(unmapped_location, Heap::kTheHoleValueRootIndex); |
- __ j(equal, &slow); |
- __ movp(rax, unmapped_location); |
- __ Ret(); |
- __ bind(&slow); |
- GenerateMiss(masm); |
-} |
- |
- |
void KeyedStoreIC::GenerateSloppyArguments(MacroAssembler* masm) { |
// The return address is on the stack. |
Label slow, notin; |