| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index 7b75f0f4916360d3d8a023ba5edf379610e64419..540f024e5ffa07ca8a2b988663e190636d3d8b71 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -543,7 +543,8 @@ void JSGenericLowering::LowerJSCallConstruct(Node* node) {
|
| void JSGenericLowering::LowerJSCallFunction(Node* node) {
|
| CallFunctionParameters const& p = CallFunctionParametersOf(node->op());
|
| int const arg_count = static_cast<int>(p.arity() - 2);
|
| - Callable callable = CodeFactory::Call(isolate());
|
| + ConvertReceiverMode const mode = p.convert_mode();
|
| + Callable callable = CodeFactory::Call(isolate(), mode);
|
| CallDescriptor::Flags flags = AdjustFrameStatesForCall(node);
|
| if (p.tail_call_mode() == TailCallMode::kAllow) {
|
| flags |= CallDescriptor::kSupportsTailCalls;
|
|
|