| Index: src/ic/mips64/handler-compiler-mips64.cc
|
| diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc
|
| index e905506756fd0f4835559b9b53d6f0b92f03d6a4..6b59a997fc6a74ce7d06b9626deff06fed3b792c 100644
|
| --- a/src/ic/mips64/handler-compiler-mips64.cc
|
| +++ b/src/ic/mips64/handler-compiler-mips64.cc
|
| @@ -297,35 +297,25 @@
|
| }
|
|
|
|
|
| -static void StoreIC_PushArgs(MacroAssembler* masm) {
|
| - if (FLAG_vector_stores) {
|
| - __ Push(StoreDescriptor::ReceiverRegister(),
|
| - StoreDescriptor::NameRegister(), StoreDescriptor::ValueRegister(),
|
| - VectorStoreICDescriptor::SlotRegister(),
|
| - VectorStoreICDescriptor::VectorRegister());
|
| - } else {
|
| - __ Push(StoreDescriptor::ReceiverRegister(),
|
| - StoreDescriptor::NameRegister(), StoreDescriptor::ValueRegister());
|
| - }
|
| -}
|
| -
|
| -
|
| void NamedStoreHandlerCompiler::GenerateSlow(MacroAssembler* masm) {
|
| - StoreIC_PushArgs(masm);
|
| + // Push receiver, key and value for runtime call.
|
| + __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(),
|
| + StoreDescriptor::ValueRegister());
|
|
|
| // The slow case calls into the runtime to complete the store without causing
|
| // an IC miss that would otherwise cause a transition to the generic stub.
|
| - __ TailCallRuntime(Runtime::kStoreIC_Slow, FLAG_vector_stores ? 5 : 3, 1);
|
| + __ TailCallRuntime(Runtime::kStoreIC_Slow, 3, 1);
|
| }
|
|
|
|
|
| void ElementHandlerCompiler::GenerateStoreSlow(MacroAssembler* masm) {
|
| - StoreIC_PushArgs(masm);
|
| + // Push receiver, key and value for runtime call.
|
| + __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(),
|
| + StoreDescriptor::ValueRegister());
|
|
|
| // The slow case calls into the runtime to complete the store without causing
|
| // an IC miss that would otherwise cause a transition to the generic stub.
|
| - __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow, FLAG_vector_stores ? 5 : 3,
|
| - 1);
|
| + __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow, 3, 1);
|
| }
|
|
|
|
|
| @@ -568,7 +558,6 @@
|
| Label success;
|
| __ Branch(&success);
|
| GenerateRestoreName(miss, name);
|
| - if (IC::ICUseVector(kind())) PopVectorAndSlot();
|
| TailCallBuiltin(masm(), MissBuiltin(kind()));
|
| __ bind(&success);
|
| }
|
|
|