Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 72bd507c9aa5cc739e59e7abdafd8b8083fea30b..8e59dd915973ba3989a6f602feb8855e816783af 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -2694,8 +2694,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(); |
__ Mov(x3, SmiFromSlot(expr->CallFeedbackSlot())); |
__ Peek(x1, (arg_count + 1) * kXRegSize); |
// Don't assign a type feedback id to the IC, since type feedback is provided |