Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 6b93ddd685fa6ddb936294e9a5bfa84538b20133..f9515bc09af707a176d201f51f3e71cdf11d082c 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.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 |