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 37647c37c595b95482764c642a102d0b33942580..0b1bf047e11f127be16ab20d5d29089477837fae 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2730,7 +2730,9 @@ void FullCodeGenerator::EmitPossiblyEvalCall(Call* expr) { |
SetCallPosition(expr); |
__ movp(rdi, Operand(rsp, (arg_count + 1) * kPointerSize)); |
__ Set(rax, arg_count); |
- __ Call(isolate()->builtins()->Call(), RelocInfo::CODE_TARGET); |
+ __ Call(isolate()->builtins()->Call(ConvertReceiverMode::kAny, |
+ expr->tail_call_mode()), |
+ RelocInfo::CODE_TARGET); |
RecordJSReturnSite(expr); |
// Restore context register. |
__ movp(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |