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 13ce921b8b8816d18f386fc1aa1eb4806f601ef9..34c11b161cd1adbdb96dc922e8047b8b2c9b6c89 100644 |
--- a/src/ic/mips/handler-compiler-mips.cc |
+++ b/src/ic/mips/handler-compiler-mips.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( |