Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 05daaac458d4c37de185e1d8e1040b2cd880ea1c..ef95ef30934d04cdd8fb7b8dd1b23100b26d2f22 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2278,7 +2278,7 @@ void FullCodeGenerator::EmitCall(Call* expr, ConvertReceiverMode mode) { |
__ Move(rdx, SmiFromSlot(expr->CallFeedbackICSlot())); |
__ movp(rdi, Operand(rsp, (arg_count + 1) * kPointerSize)); |
__ Set(rax, arg_count); |
- __ call(code, RelocInfo::CODE_TARGET); |
+ CallIC(code); |
OperandStackDepthDecrement(arg_count + 1); |
RecordJSReturnSite(expr); |
@@ -2424,7 +2424,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ Move(rdx, 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(); |