Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 1da8abdca889e1d1046316521c0550ea53cbdbab..15f12543ea96dc4d4935ea127cd86013a729d9de 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -2392,10 +2392,10 @@ void FullCodeGenerator::EmitCall(Call* expr, ConvertReceiverMode mode) { |
EmitProfilingCounterHandlingForReturnSequence(true); |
} |
Handle<Code> code = |
- CodeFactory::CallIC(isolate(), arg_count, mode, expr->tail_call_mode()) |
- .code(); |
+ CodeFactory::CallIC(isolate(), mode, expr->tail_call_mode()).code(); |
__ li(a3, Operand(SmiFromSlot(expr->CallFeedbackICSlot()))); |
__ ld(a1, MemOperand(sp, (arg_count + 1) * kPointerSize)); |
+ __ li(a0, Operand(arg_count)); |
__ Call(code, RelocInfo::CODE_TARGET); |
OperandStackDepthDecrement(arg_count + 1); |