| Index: src/crankshaft/x64/lithium-codegen-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| index f9e8bcc18bd313ff26955edd0fe95f2cbf7aaf71..62648f25101ceb7d1d0ad3d8a0b7029e819a5470 100644
|
| --- a/src/crankshaft/x64/lithium-codegen-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| @@ -3313,7 +3313,8 @@ void LCodeGen::DoApplyArguments(LApplyArguments* instr) {
|
| SafepointGenerator safepoint_generator(
|
| this, pointers, Safepoint::kLazyDeopt);
|
| ParameterCount actual(rax);
|
| - __ InvokeFunction(function, actual, CALL_FUNCTION, safepoint_generator);
|
| + __ InvokeFunction(function, no_reg, actual, CALL_FUNCTION,
|
| + safepoint_generator);
|
| }
|
|
|
|
|
| @@ -3387,7 +3388,8 @@ void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
|
| this, pointers, Safepoint::kLazyDeopt);
|
| ParameterCount count(arity);
|
| ParameterCount expected(formal_parameter_count);
|
| - __ InvokeFunction(function_reg, expected, count, CALL_FUNCTION, generator);
|
| + __ InvokeFunction(function_reg, no_reg, expected, count, CALL_FUNCTION,
|
| + generator);
|
| }
|
| }
|
|
|
| @@ -3831,7 +3833,7 @@ void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) {
|
| LPointerMap* pointers = instr->pointer_map();
|
| SafepointGenerator generator(this, pointers, Safepoint::kLazyDeopt);
|
| ParameterCount count(instr->arity());
|
| - __ InvokeFunction(rdi, count, CALL_FUNCTION, generator);
|
| + __ InvokeFunction(rdi, no_reg, count, CALL_FUNCTION, generator);
|
| } else {
|
| CallKnownFunction(known_function,
|
| instr->hydrogen()->formal_parameter_count(),
|
|
|