| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 535f2c2c63e7b68d50307d7465f4bda6cae68708..6bd74016ec4c6d7834b75de607b9b049bab08ef5 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2194,6 +2194,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| CallIC(ic, TypeFeedbackId::None());
|
| __ mov(edi, eax);
|
| __ mov(Operand(esp, 2 * kPointerSize), edi);
|
| + SetCallPosition(expr, 1);
|
| CallFunctionStub stub(isolate(), 1, CALL_AS_METHOD);
|
| __ CallStub(&stub);
|
|
|
| @@ -2995,7 +2996,7 @@ void FullCodeGenerator::EmitCall(Call* expr, CallICState::CallType call_type) {
|
| VisitForStackValue(args->at(i));
|
| }
|
|
|
| - SetExpressionPosition(expr);
|
| + SetCallPosition(expr, arg_count);
|
| Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, call_type).code();
|
| __ Move(edx, Immediate(SmiFromSlot(expr->CallFeedbackICSlot())));
|
| __ mov(edi, Operand(esp, (arg_count + 1) * kPointerSize));
|
| @@ -3126,7 +3127,7 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
|
|
| PrepareForBailoutForId(expr->EvalId(), NO_REGISTERS);
|
|
|
| - SetExpressionPosition(expr);
|
| + SetCallPosition(expr, arg_count);
|
| CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS);
|
| __ mov(edi, Operand(esp, (arg_count + 1) * kPointerSize));
|
| __ CallStub(&stub);
|
| @@ -3197,7 +3198,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
|
|
| // Call the construct call builtin that handles allocation and
|
| // constructor invocation.
|
| - SetExpressionPosition(expr);
|
| + SetConstructCallPosition(expr);
|
|
|
| // Load function and argument count into edi and eax.
|
| __ Move(eax, Immediate(arg_count));
|
| @@ -3240,7 +3241,7 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) {
|
|
|
| // Call the construct call builtin that handles allocation and
|
| // constructor invocation.
|
| - SetExpressionPosition(expr);
|
| + SetConstructCallPosition(expr);
|
|
|
| // Load function and argument count into edi and eax.
|
| __ Move(eax, Immediate(arg_count));
|
| @@ -4663,7 +4664,7 @@ void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| int arg_count = args->length();
|
|
|
| - SetExpressionPosition(expr);
|
| + SetCallPosition(expr, arg_count);
|
| CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS);
|
| __ mov(edi, Operand(esp, (arg_count + 1) * kPointerSize));
|
| __ CallStub(&stub);
|
|
|