| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index 272c977ea97bf5f80bccfd67d01333c60b32057b..7ec4f3b851cebd05eaccda5b1f6092b0b6f7a2aa 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -1074,6 +1074,9 @@ void Builtins::Generate_FunctionApply(MacroAssembler* masm) {
|
| __ movp(receiver, Operand(rbp, kArgumentsOffset)); // load arguments
|
|
|
| // Use inline caching to speed up access to arguments.
|
| + if (FLAG_vector_ics) {
|
| + __ Move(LoadIC::SlotRegister(), Smi::FromInt(0));
|
| + }
|
| Handle<Code> ic =
|
| masm->isolate()->builtins()->KeyedLoadIC_Initialize();
|
| __ Call(ic, RelocInfo::CODE_TARGET);
|
|
|