| Index: src/x87/full-codegen-x87.cc
|
| diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc
|
| index 7b1a35dcd72d1dae92c8d8f5827dcebcd9957c52..f60ba1d9b517f2c4471a1da807e7707aca7fcb9b 100644
|
| --- a/src/x87/full-codegen-x87.cc
|
| +++ b/src/x87/full-codegen-x87.cc
|
| @@ -2185,6 +2185,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);
|
|
|
| @@ -2986,7 +2987,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));
|
| @@ -3117,7 +3118,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);
|
| @@ -3188,7 +3189,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));
|
| @@ -3231,7 +3232,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));
|
| @@ -4653,7 +4654,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);
|
|
|