| Index: src/ppc/full-codegen-ppc.cc
|
| diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc
|
| index ec94a242b4a1473d8661918c071eda09c877dbcc..f67194d407049a0d0ca6f1f85bb9f85937dce202 100644
|
| --- a/src/ppc/full-codegen-ppc.cc
|
| +++ b/src/ppc/full-codegen-ppc.cc
|
| @@ -2236,6 +2236,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| CallIC(ic, TypeFeedbackId::None());
|
| __ mr(r4, r3);
|
| __ StoreP(r4, MemOperand(sp, 2 * kPointerSize));
|
| + SetCallPosition(expr, 1);
|
| CallFunctionStub stub(isolate(), 1, CALL_AS_METHOD);
|
| __ CallStub(&stub);
|
|
|
| @@ -3101,7 +3102,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();
|
| __ LoadSmiLiteral(r6, SmiFromSlot(expr->CallFeedbackICSlot()));
|
| __ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0);
|
| @@ -3236,7 +3237,7 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
| PrepareForBailoutForId(expr->EvalId(), NO_REGISTERS);
|
|
|
| // Record source position for debugger.
|
| - SetExpressionPosition(expr);
|
| + SetCallPosition(expr, arg_count);
|
| CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS);
|
| __ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0);
|
| __ CallStub(&stub);
|
| @@ -3308,7 +3309,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 r4 and r3.
|
| __ mov(r3, Operand(arg_count));
|
| @@ -3351,7 +3352,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 r1 and r0.
|
| __ mov(r3, Operand(arg_count));
|
| @@ -4760,7 +4761,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);
|
| __ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0);
|
| __ CallStub(&stub);
|
|
|