Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index a8fcaace1f48783fc73aab394c8d4afda156fb0e..a30ca989ab52cec5009a7a0f06e61620ebeb88fd 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -2383,10 +2383,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(); |
__ mov(r3, Operand(SmiFromSlot(expr->CallFeedbackICSlot()))); |
__ ldr(r1, MemOperand(sp, (arg_count + 1) * kPointerSize)); |
+ __ mov(r0, Operand(arg_count)); |
__ Call(code, RelocInfo::CODE_TARGET); |
OperandStackDepthDecrement(arg_count + 1); |