| 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 9057fc4cd824690c755c96a7901bfc9f91693cd1..f95149005dbf29e4cc9c9a119a06471aa5d92c28 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -1965,7 +1965,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| CallIC(ic, TypeFeedbackId::None());
|
| __ mov(edi, eax);
|
| __ mov(Operand(esp, 2 * kPointerSize), edi);
|
| - SetCallPosition(expr, 1);
|
| + SetCallPosition(expr);
|
| __ Set(eax, 1);
|
| __ Call(
|
| isolate()->builtins()->Call(ConvertReceiverMode::kNotNullOrUndefined),
|
| @@ -2763,7 +2763,7 @@ void FullCodeGenerator::EmitCall(Call* expr, ConvertReceiverMode mode) {
|
| }
|
|
|
| PrepareForBailoutForId(expr->CallId(), NO_REGISTERS);
|
| - SetCallPosition(expr, arg_count);
|
| + SetCallPosition(expr);
|
| Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, mode).code();
|
| __ Move(edx, Immediate(SmiFromSlot(expr->CallFeedbackICSlot())));
|
| __ mov(edi, Operand(esp, (arg_count + 1) * kPointerSize));
|
| @@ -2867,7 +2867,7 @@ void FullCodeGenerator::EmitPossiblyEvalCall(Call* expr) {
|
|
|
| PrepareForBailoutForId(expr->EvalId(), NO_REGISTERS);
|
|
|
| - SetCallPosition(expr, arg_count);
|
| + SetCallPosition(expr);
|
| __ mov(edi, Operand(esp, (arg_count + 1) * kPointerSize));
|
| __ Set(eax, arg_count);
|
| __ Call(isolate()->builtins()->Call(), RelocInfo::CODE_TARGET);
|
| @@ -2899,7 +2899,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
|
|
| // Call the construct call builtin that handles allocation and
|
| // constructor invocation.
|
| - SetConstructCallPosition(expr, arg_count);
|
| + SetConstructCallPosition(expr);
|
|
|
| // Load function and argument count into edi and eax.
|
| __ Move(eax, Immediate(arg_count));
|
| @@ -2935,7 +2935,7 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) {
|
|
|
| // Call the construct call builtin that handles allocation and
|
| // constructor invocation.
|
| - SetConstructCallPosition(expr, arg_count);
|
| + SetConstructCallPosition(expr);
|
|
|
| // Load new target into edx.
|
| VisitForAccumulatorValue(super_call_ref->new_target_var());
|
| @@ -3673,7 +3673,7 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) {
|
|
|
| // Call the construct call builtin that handles allocation and
|
| // constructor invocation.
|
| - SetConstructCallPosition(expr, 0);
|
| + SetConstructCallPosition(expr);
|
|
|
| // Check if the calling frame is an arguments adaptor frame.
|
| Label adaptor_frame, args_set_up, runtime;
|
| @@ -4073,7 +4073,7 @@ void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| int arg_count = args->length();
|
|
|
| - SetCallPosition(expr, arg_count);
|
| + SetCallPosition(expr);
|
| __ mov(edi, Operand(esp, (arg_count + 1) * kPointerSize));
|
| __ Set(eax, arg_count);
|
| __ Call(isolate()->builtins()->Call(ConvertReceiverMode::kNullOrUndefined),
|
|
|