Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index fee55f67309a51efb573de8c6f33c1f9d0ee1220..d704053f7ba6f4ae4df97dbb6986a82b677538c0 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -2282,10 +2282,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(); |
__ Move(edx, Immediate(SmiFromSlot(expr->CallFeedbackICSlot()))); |
__ mov(edi, Operand(esp, (arg_count + 1) * kPointerSize)); |
+ __ Move(eax, Immediate(arg_count)); |
__ call(code, RelocInfo::CODE_TARGET); |
OperandStackDepthDecrement(arg_count + 1); |