Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 7db2febc409596fedd6deaa691fac59480c2c18d..d5d13584470f4eeb45a52803ea02ac99a3ec1367 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -1634,7 +1634,8 @@ void LCodeGen::DoApplyArguments(LApplyArguments* instr) { |
// The number of arguments is stored in argc (receiver) which is x0, as |
// expected by InvokeFunction. |
ParameterCount actual(argc); |
- __ InvokeFunction(function, actual, CALL_FUNCTION, safepoint_generator); |
+ __ InvokeFunction(function, no_reg, actual, CALL_FUNCTION, |
+ safepoint_generator); |
} |
@@ -3006,7 +3007,7 @@ void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) { |
LPointerMap* pointers = instr->pointer_map(); |
SafepointGenerator generator(this, pointers, Safepoint::kLazyDeopt); |
ParameterCount count(instr->arity()); |
- __ InvokeFunction(x1, count, CALL_FUNCTION, generator); |
+ __ InvokeFunction(x1, no_reg, count, CALL_FUNCTION, generator); |
} else { |
CallKnownFunction(known_function, |
instr->hydrogen()->formal_parameter_count(), |