Index: src/ic/x87/handler-compiler-x87.cc |
diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc |
index 9ecba477c8dee6c039746a8f1f3bc1b566824a2f..ec08b60692b6e00bb12cd955e46d9bab8c42f307 100644 |
--- a/src/ic/x87/handler-compiler-x87.cc |
+++ b/src/ic/x87/handler-compiler-x87.cc |
@@ -15,52 +15,6 @@ namespace internal { |
#define __ ACCESS_MASM(masm) |
-void ElementHandlerCompiler::GenerateLoadDictionaryElement( |
- MacroAssembler* masm) { |
- // ----------- S t a t e ------------- |
- // -- ecx : key |
- // -- edx : receiver |
- // -- esp[0] : return address |
- // ----------------------------------- |
- DCHECK(edx.is(LoadDescriptor::ReceiverRegister())); |
- DCHECK(ecx.is(LoadDescriptor::NameRegister())); |
- Label slow, miss; |
- |
- // This stub is meant to be tail-jumped to, the receiver must already |
- // have been verified by the caller to not be a smi. |
- __ JumpIfNotSmi(ecx, &miss); |
- __ mov(ebx, ecx); |
- __ SmiUntag(ebx); |
- __ mov(eax, FieldOperand(edx, JSObject::kElementsOffset)); |
- |
- // Push receiver on the stack to free up a register for the dictionary |
- // probing. |
- __ push(edx); |
- __ LoadFromNumberDictionary(&slow, eax, ecx, ebx, edx, edi, eax); |
- // Pop receiver before returning. |
- __ pop(edx); |
- __ ret(0); |
- |
- __ bind(&slow); |
- __ pop(edx); |
- |
- // ----------- S t a t e ------------- |
- // -- ecx : key |
- // -- edx : receiver |
- // -- esp[0] : return address |
- // ----------------------------------- |
- TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Slow); |
- |
- __ bind(&miss); |
- // ----------- S t a t e ------------- |
- // -- ecx : key |
- // -- edx : receiver |
- // -- esp[0] : return address |
- // ----------------------------------- |
- TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
-} |
- |
- |
void NamedLoadHandlerCompiler::GenerateLoadViaGetter( |
MacroAssembler* masm, Handle<HeapType> type, Register receiver, |
Handle<JSFunction> getter) { |