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 72a263bbb998b73cd1e501a24a0ef624b8526280..d86ddccde44cba74627190b9bdc8d59466a0db9d 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2737,7 +2737,9 @@ void FullCodeGenerator::EmitCall(Call* expr, ConvertReceiverMode mode) { |
PrepareForBailoutForId(expr->CallId(), NO_REGISTERS); |
SetCallPosition(expr); |
- Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, mode).code(); |
+ Handle<Code> ic = |
+ CodeFactory::CallIC(isolate(), arg_count, mode, expr->tail_call_mode()) |
+ .code(); |
__ Move(rdx, SmiFromSlot(expr->CallFeedbackICSlot())); |
__ movp(rdi, Operand(rsp, (arg_count + 1) * kPointerSize)); |
// Don't assign a type feedback id to the IC, since type feedback is provided |