| Index: src/ic/arm/handler-compiler-arm.cc
|
| diff --git a/src/ic/arm/handler-compiler-arm.cc b/src/ic/arm/handler-compiler-arm.cc
|
| index bdb701cf179494d9a14f3b5bcc1bbc4c2adca76b..7722af6479acae22b35c85ec3c89f4b36474313e 100644
|
| --- a/src/ic/arm/handler-compiler-arm.cc
|
| +++ b/src/ic/arm/handler-compiler-arm.cc
|
| @@ -314,6 +314,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())
|
|
|
|
|