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 3986c0ed661b57714083445dfac3b64a743c6d8c..5d1c8e2a42b1c5f7a3e279ecda6a3a8f00718ed0 100644 |
--- a/src/ic/arm64/handler-compiler-arm64.cc |
+++ b/src/ic/arm64/handler-compiler-arm64.cc |
@@ -264,6 +264,30 @@ |
__ Ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
} |
__ Ret(); |
+} |
+ |
+ |
+void NamedLoadHandlerCompiler::GenerateSlow(MacroAssembler* masm) { |
+ // Push receiver and key for runtime call. |
+ __ Push(LoadDescriptor::ReceiverRegister(), LoadDescriptor::NameRegister()); |
+ |
+ // The slow case calls into the runtime to complete the load without causing |
+ // an IC miss that would otherwise cause a transition to the generic stub. |
+ ExternalReference ref = |
+ ExternalReference(IC_Utility(IC::kLoadIC_Slow), masm->isolate()); |
+ __ TailCallExternalReference(ref, 2, 1); |
+} |
+ |
+ |
+void ElementHandlerCompiler::GenerateLoadSlow(MacroAssembler* masm) { |
+ // Push receiver and key for runtime call. |
+ __ Push(LoadDescriptor::ReceiverRegister(), LoadDescriptor::NameRegister()); |
+ |
+ // The slow case calls into the runtime to complete the load without causing |
+ // an IC miss that would otherwise cause a transition to the generic stub. |
+ ExternalReference ref = |
+ ExternalReference(IC_Utility(IC::kKeyedLoadIC_Slow), masm->isolate()); |
+ __ TailCallExternalReference(ref, 2, 1); |
} |