Index: src/ic/x64/ic-x64.cc |
diff --git a/src/ic/x64/ic-x64.cc b/src/ic/x64/ic-x64.cc |
index 587ebd3daa7aab0ebddeabf52bd20d103013c741..add2b7dff006d093db6bbd7a551125d5b9523189 100644 |
--- a/src/ic/x64/ic-x64.cc |
+++ b/src/ic/x64/ic-x64.cc |
@@ -12,48 +12,6 @@ |
namespace v8 { |
namespace internal { |
-// ---------------------------------------------------------------------------- |
-// Static IC stub generators. |
-// |
- |
-#define __ ACCESS_MASM(masm) |
- |
-static void StoreIC_PushArgs(MacroAssembler* masm) { |
- Register receiver = StoreWithVectorDescriptor::ReceiverRegister(); |
- Register name = StoreWithVectorDescriptor::NameRegister(); |
- Register value = StoreWithVectorDescriptor::ValueRegister(); |
- Register slot = StoreWithVectorDescriptor::SlotRegister(); |
- Register vector = StoreWithVectorDescriptor::VectorRegister(); |
- Register temp = r11; |
- DCHECK(!AreAliased(receiver, name, value, slot, vector, temp)); |
- |
- __ PopReturnAddressTo(temp); |
- __ Push(value); |
- __ Push(slot); |
- __ Push(vector); |
- __ Push(receiver); |
- __ Push(name); |
- __ PushReturnAddressFrom(temp); |
-} |
- |
-void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) { |
- // Return address is on the stack. |
- StoreIC_PushArgs(masm); |
- |
- // Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kKeyedStoreIC_Miss); |
-} |
- |
-void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) { |
- // Return address is on the stack. |
- StoreIC_PushArgs(masm); |
- |
- // Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow); |
-} |
- |
-#undef __ |
- |
Condition CompareIC::ComputeCondition(Token::Value op) { |
switch (op) { |