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 d83c807e3ce32b6fb778d61a2233c084044bec42..2a0ec065be1a3b61217b63e503215c0e6803d8fa 100644 |
--- a/src/ic/mips64/handler-compiler-mips64.cc |
+++ b/src/ic/mips64/handler-compiler-mips64.cc |
@@ -14,6 +14,30 @@ |
namespace internal { |
#define __ ACCESS_MASM(masm) |
+ |
+ |
+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 store 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 store 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); |
+} |
void NamedLoadHandlerCompiler::GenerateLoadViaGetter( |