Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 2e3b95898eb1eddeabc49f4e64d3141ab61f4f66..bd5f5ea89a890f082f715a724ef594a7bd031434 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -2292,7 +2292,7 @@ void FullCodeGenerator::EmitCall(Call* expr, ConvertReceiverMode mode) { |
__ Mov(x3, SmiFromSlot(expr->CallFeedbackICSlot())); |
__ Peek(x1, (arg_count + 1) * kXRegSize); |
__ Mov(x0, arg_count); |
- __ Call(code, RelocInfo::CODE_TARGET); |
+ CallIC(code); |
OperandStackDepthDecrement(arg_count + 1); |
RecordJSReturnSite(expr); |
@@ -2445,7 +2445,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ Mov(x3, SmiFromSlot(expr->CallNewFeedbackSlot())); |
CallConstructStub stub(isolate()); |
- __ Call(stub.GetCode(), RelocInfo::CODE_TARGET); |
+ CallIC(stub.GetCode()); |
OperandStackDepthDecrement(arg_count + 1); |
PrepareForBailoutForId(expr->ReturnId(), BailoutState::TOS_REGISTER); |
RestoreContext(); |