Index: src/ic/arm64/handler-compiler-arm64.cc |
diff --git a/src/ic/arm64/handler-compiler-arm64.cc b/src/ic/arm64/handler-compiler-arm64.cc |
index ae4244c8c988f10ae3b116563a735b4f72eb2789..faad934477fde330db435184d68b8a08453ec0ad 100644 |
--- a/src/ic/arm64/handler-compiler-arm64.cc |
+++ b/src/ic/arm64/handler-compiler-arm64.cc |
@@ -306,6 +306,34 @@ void ElementHandlerCompiler::GenerateLoadDictionaryElement( |
} |
+void NamedStoreHandlerCompiler::GenerateSlow(MacroAssembler* masm) { |
+ // Push receiver, name 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) { |
+ ASM_LOCATION("ElementHandlerCompiler::GenerateStoreSlow"); |
+ |
+ // 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()) |