Index: src/ic/mips/ic-mips.cc |
diff --git a/src/ic/mips/ic-mips.cc b/src/ic/mips/ic-mips.cc |
index 880921cd3704f628c1167e40ef4fa9cc67231c8f..4ddf75e30211ee87c85c9e68b63325815ca43eac 100644 |
--- a/src/ic/mips/ic-mips.cc |
+++ b/src/ic/mips/ic-mips.cc |
@@ -141,31 +141,6 @@ void LoadIC::GenerateNormal(MacroAssembler* masm) { |
// A register that isn't one of the parameters to the load ic. |
static const Register LoadIC_TempRegister() { return a3; } |
- |
-static void LoadIC_PushArgs(MacroAssembler* masm) { |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- Register name = LoadDescriptor::NameRegister(); |
- Register slot = LoadDescriptor::SlotRegister(); |
- Register vector = LoadWithVectorDescriptor::VectorRegister(); |
- |
- __ Push(receiver, name, slot, vector); |
-} |
- |
- |
-void LoadIC::GenerateMiss(MacroAssembler* masm) { |
- // The return address is in ra. |
- Isolate* isolate = masm->isolate(); |
- |
- DCHECK(!AreAliased(t0, t1, LoadWithVectorDescriptor::SlotRegister(), |
- LoadWithVectorDescriptor::VectorRegister())); |
- __ IncrementCounter(isolate->counters()->ic_load_miss(), 1, t0, t1); |
- |
- LoadIC_PushArgs(masm); |
- |
- // Perform tail call to the entry. |
- __ TailCallRuntime(Runtime::kLoadIC_Miss); |
-} |
- |
void LoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
// The return address is in ra. |
@@ -176,30 +151,6 @@ void LoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
__ TailCallRuntime(Runtime::kGetProperty); |
} |
- |
-void KeyedLoadIC::GenerateMiss(MacroAssembler* masm) { |
- // The return address is in ra. |
- Isolate* isolate = masm->isolate(); |
- |
- DCHECK(!AreAliased(t0, t1, LoadWithVectorDescriptor::SlotRegister(), |
- LoadWithVectorDescriptor::VectorRegister())); |
- __ IncrementCounter(isolate->counters()->ic_keyed_load_miss(), 1, t0, t1); |
- |
- LoadIC_PushArgs(masm); |
- |
- // Perform tail call to the entry. |
- __ TailCallRuntime(Runtime::kKeyedLoadIC_Miss); |
-} |
- |
-void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
- // The return address is in ra. |
- |
- __ Push(LoadDescriptor::ReceiverRegister(), LoadDescriptor::NameRegister()); |
- |
- // Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kKeyedGetProperty); |
-} |
- |
static void StoreIC_PushArgs(MacroAssembler* masm) { |
__ Push(StoreWithVectorDescriptor::ValueRegister(), |
StoreWithVectorDescriptor::SlotRegister(), |