| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index a8d20beb1e2dd7f8ac1c14797168b66ed46fc8f8..fd6cc1e2746258c91209936e87ec2407c4c562ec 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -2905,8 +2905,7 @@ void FullCodeGenerator::EmitCall(Call* expr, CallICState::CallType call_type) {
|
|
|
| // Record source position of the IC call.
|
| SetSourcePosition(expr->position());
|
| - Handle<Code> ic = CallIC::initialize_stub(
|
| - isolate(), arg_count, call_type);
|
| + Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, call_type).code();
|
| __ Move(rdx, SmiFromSlot(expr->CallFeedbackSlot()));
|
| __ movp(rdi, Operand(rsp, (arg_count + 1) * kPointerSize));
|
| // Don't assign a type feedback id to the IC, since type feedback is provided
|
|
|