| Index: src/ic/mips/handler-compiler-mips.cc
|
| diff --git a/src/ic/mips/handler-compiler-mips.cc b/src/ic/mips/handler-compiler-mips.cc
|
| index b6aa4821df59498a6ae140639435d41201978209..d53341463652ab82316bd929c9cc6b7b82f1b929 100644
|
| --- a/src/ic/mips/handler-compiler-mips.cc
|
| +++ b/src/ic/mips/handler-compiler-mips.cc
|
| @@ -310,6 +310,32 @@ void ElementHandlerCompiler::GenerateLoadDictionaryElement(
|
| }
|
|
|
|
|
| +void NamedStoreHandlerCompiler::GenerateSlow(MacroAssembler* masm) {
|
| + // Push receiver, key and value for runtime call.
|
| + __ Push(StoreIC::ReceiverRegister(), StoreIC::NameRegister(),
|
| + StoreIC::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.
|
| + ExternalReference ref =
|
| + ExternalReference(IC_Utility(IC::kStoreIC_Slow), masm->isolate());
|
| + __ TailCallExternalReference(ref, 3, 1);
|
| +}
|
| +
|
| +
|
| +void ElementHandlerCompiler::GenerateStoreSlow(MacroAssembler* masm) {
|
| + // Push receiver, key and value for runtime call.
|
| + __ Push(StoreIC::ReceiverRegister(), StoreIC::NameRegister(),
|
| + StoreIC::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.
|
| + ExternalReference ref =
|
| + ExternalReference(IC_Utility(IC::kKeyedStoreIC_Slow), masm->isolate());
|
| + __ TailCallExternalReference(ref, 3, 1);
|
| +}
|
| +
|
| +
|
| #undef __
|
| #define __ ACCESS_MASM(masm())
|
|
|
|
|