Index: src/crankshaft/ppc/lithium-codegen-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
index 4016015f7b16b6939812af785690efc04b07a726..5cf0ef7330104faf425c7228c74ae5c1b1a19a92 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
@@ -3527,7 +3527,8 @@ void LCodeGen::DoApplyArguments(LApplyArguments* instr) { |
// The number of arguments is stored in receiver which is r3, as expected |
// by InvokeFunction. |
ParameterCount actual(receiver); |
- __ InvokeFunction(function, actual, CALL_FUNCTION, safepoint_generator); |
+ __ InvokeFunction(function, no_reg, actual, CALL_FUNCTION, |
+ safepoint_generator); |
} |
@@ -3954,7 +3955,7 @@ void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) { |
LPointerMap* pointers = instr->pointer_map(); |
SafepointGenerator generator(this, pointers, Safepoint::kLazyDeopt); |
ParameterCount count(instr->arity()); |
- __ InvokeFunction(r4, count, CALL_FUNCTION, generator); |
+ __ InvokeFunction(r4, no_reg, count, CALL_FUNCTION, generator); |
} else { |
CallKnownFunction(known_function, |
instr->hydrogen()->formal_parameter_count(), |