Index: src/ic/arm/ic-arm.cc |
diff --git a/src/ic/arm/ic-arm.cc b/src/ic/arm/ic-arm.cc |
index 55d85b9aa9eee9020883a716622e7d8dd82f8141..129ab70cadfb0953c9999a516ff1aaa27ccd8d4d 100644 |
--- a/src/ic/arm/ic-arm.cc |
+++ b/src/ic/arm/ic-arm.cc |
@@ -136,31 +136,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 r3; } |
- |
-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 lr. |
- Isolate* isolate = masm->isolate(); |
- |
- DCHECK(!AreAliased(r4, r5, LoadWithVectorDescriptor::SlotRegister(), |
- LoadWithVectorDescriptor::VectorRegister())); |
- __ IncrementCounter(isolate->counters()->ic_load_miss(), 1, r4, r5); |
- |
- LoadIC_PushArgs(masm); |
- |
- // Perform tail call to the entry. |
- __ TailCallRuntime(Runtime::kLoadIC_Miss); |
-} |
- |
void LoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
// The return address is in lr. |
@@ -171,31 +146,6 @@ void LoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
__ TailCallRuntime(Runtime::kGetProperty); |
} |
- |
-void KeyedLoadIC::GenerateMiss(MacroAssembler* masm) { |
- // The return address is in lr. |
- Isolate* isolate = masm->isolate(); |
- |
- DCHECK(!AreAliased(r4, r5, LoadWithVectorDescriptor::SlotRegister(), |
- LoadWithVectorDescriptor::VectorRegister())); |
- __ IncrementCounter(isolate->counters()->ic_keyed_load_miss(), 1, r4, r5); |
- |
- LoadIC_PushArgs(masm); |
- |
- // Perform tail call to the entry. |
- __ TailCallRuntime(Runtime::kKeyedLoadIC_Miss); |
-} |
- |
-void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
- // The return address is in lr. |
- |
- __ Push(LoadDescriptor::ReceiverRegister(), LoadDescriptor::NameRegister()); |
- |
- // Perform tail call to the entry. |
- // Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kKeyedGetProperty); |
-} |
- |
static void StoreIC_PushArgs(MacroAssembler* masm) { |
__ Push(StoreWithVectorDescriptor::ValueRegister(), |
StoreWithVectorDescriptor::SlotRegister(), |