Index: src/ic/x87/handler-compiler-x87.cc |
diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc |
index 056bd952c7d105e4d52872964f5f24dde3c60452..4db5f76402cc00066199f6134c5afc9a470a945a 100644 |
--- a/src/ic/x87/handler-compiler-x87.cc |
+++ b/src/ic/x87/handler-compiler-x87.cc |
@@ -16,6 +16,16 @@ namespace internal { |
#define __ ACCESS_MASM(masm) |
+void ElementHandlerCompiler::GenerateLoadSlow(MacroAssembler* masm) { |
+ // Return address is on the stack. |
+ LoadIC_PushArgs(masm); |
+ |
+ // Do tail-call to runtime routine. |
+ ExternalReference ref(IC_Utility(IC::kKeyedLoadIC_Slow), masm->isolate()); |
+ __ TailCallExternalReference(ref, 2, 1); |
+} |
+ |
+ |
void NamedLoadHandlerCompiler::GenerateLoadViaGetter( |
MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, |
int accessor_index, int expected_arguments, Register scratch) { |