| Index: src/ic/ia32/ic-ia32.cc
|
| diff --git a/src/ic/ia32/ic-ia32.cc b/src/ic/ia32/ic-ia32.cc
|
| index 42bb0a6aec7c127e6fd15a16a92578a4036c12e1..b9360ced91bb4389e5c2dcc3eff05805edfdaa36 100644
|
| --- a/src/ic/ia32/ic-ia32.cc
|
| +++ b/src/ic/ia32/ic-ia32.cc
|
| @@ -138,34 +138,6 @@ void LoadIC::GenerateNormal(MacroAssembler* masm) {
|
| GenerateRuntimeGetProperty(masm);
|
| }
|
|
|
| -
|
| -static void LoadIC_PushArgs(MacroAssembler* masm) {
|
| - Register receiver = LoadDescriptor::ReceiverRegister();
|
| - Register name = LoadDescriptor::NameRegister();
|
| -
|
| - Register slot = LoadDescriptor::SlotRegister();
|
| - Register vector = LoadWithVectorDescriptor::VectorRegister();
|
| - DCHECK(!edi.is(receiver) && !edi.is(name) && !edi.is(slot) &&
|
| - !edi.is(vector));
|
| -
|
| - __ pop(edi);
|
| - __ push(receiver);
|
| - __ push(name);
|
| - __ push(slot);
|
| - __ push(vector);
|
| - __ push(edi);
|
| -}
|
| -
|
| -
|
| -void LoadIC::GenerateMiss(MacroAssembler* masm) {
|
| - // Return address is on the stack.
|
| - __ IncrementCounter(masm->isolate()->counters()->ic_load_miss(), 1);
|
| - LoadIC_PushArgs(masm);
|
| -
|
| - // Perform tail call to the entry.
|
| - __ TailCallRuntime(Runtime::kLoadIC_Miss);
|
| -}
|
| -
|
| void LoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) {
|
| // Return address is on the stack.
|
| Register receiver = LoadDescriptor::ReceiverRegister();
|
| @@ -181,32 +153,6 @@ void LoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) {
|
| __ TailCallRuntime(Runtime::kGetProperty);
|
| }
|
|
|
| -
|
| -void KeyedLoadIC::GenerateMiss(MacroAssembler* masm) {
|
| - // Return address is on the stack.
|
| - __ IncrementCounter(masm->isolate()->counters()->ic_keyed_load_miss(), 1);
|
| -
|
| - LoadIC_PushArgs(masm);
|
| -
|
| - // Perform tail call to the entry.
|
| - __ TailCallRuntime(Runtime::kKeyedLoadIC_Miss);
|
| -}
|
| -
|
| -void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) {
|
| - // Return address is on the stack.
|
| - Register receiver = LoadDescriptor::ReceiverRegister();
|
| - Register name = LoadDescriptor::NameRegister();
|
| - DCHECK(!ebx.is(receiver) && !ebx.is(name));
|
| -
|
| - __ pop(ebx);
|
| - __ push(receiver);
|
| - __ push(name);
|
| - __ push(ebx);
|
| -
|
| - // Do tail-call to runtime routine.
|
| - __ TailCallRuntime(Runtime::kKeyedGetProperty);
|
| -}
|
| -
|
| static void StoreIC_PushArgs(MacroAssembler* masm) {
|
| Register receiver = StoreWithVectorDescriptor::ReceiverRegister();
|
| Register name = StoreWithVectorDescriptor::NameRegister();
|
|
|