Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 01e44d8c1e779ac27ecb56094b340514215a31d4..7a7089dc854d87b8c4d4bc0377d687d7292980f9 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -2332,10 +2332,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(); |
__ LoadSmiLiteral(r5, SmiFromSlot(expr->CallFeedbackICSlot())); |
__ LoadP(r3, MemOperand(sp, (arg_count + 1) * kPointerSize), r0); |
+ __ mov(r2, Operand(arg_count)); |
__ Call(code, RelocInfo::CODE_TARGET); |
OperandStackDepthDecrement(arg_count + 1); |