Chromium Code Reviews| Index: src/ic/ia32/handler-compiler-ia32.cc |
| diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
| index e56eda15212f424301e6cce3e260196bf1860066..2666e42d733a580d84b8f70d89dcd61ef9466bb8 100644 |
| --- a/src/ic/ia32/handler-compiler-ia32.cc |
| +++ b/src/ic/ia32/handler-compiler-ia32.cc |
| @@ -15,52 +15,6 @@ namespace internal { |
| #define __ ACCESS_MASM(masm) |
| -void ElementHandlerCompiler::GenerateLoadDictionaryElement( |
|
mvstanton
2014/09/03 12:54:51
Nice catch to be able to get rid of this!
|
| - 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) { |