Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index a795a18c4475c6672fc6ab3d02c562ae17d3a1e2..332f0a85987e49520d468548ad6c1f11bb6f7833 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -1003,6 +1003,9 @@ void Builtins::Generate_FunctionApply(MacroAssembler* masm) { |
__ mov(receiver, Operand(ebp, kArgumentsOffset)); // load arguments |
// Use inline caching to speed up access to arguments. |
+ if (FLAG_vector_ics) { |
+ __ mov(LoadIC::SlotRegister(), Immediate(Smi::FromInt(0))); |
+ } |
Handle<Code> ic = masm->isolate()->builtins()->KeyedLoadIC_Initialize(); |
__ call(ic, RelocInfo::CODE_TARGET); |
// It is important that we do not have a test instruction after the |