| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index 347294916882018ccc31b51603a7c3ac8d35156f..b8b62dc2a4e9fdadfbd642b9437bd7ae75a52071 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -2011,7 +2011,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
|
| CallIC(ic, TypeFeedbackId::None());
|
| __ mr(r4, r3);
|
| __ StoreP(r4, MemOperand(sp, 2 * kPointerSize));
|
| - SetCallPosition(expr, 1);
|
| + SetCallPosition(expr);
|
| __ li(r3, Operand(1));
|
| __ Call(
|
| isolate()->builtins()->Call(ConvertReceiverMode::kNotNullOrUndefined),
|
| @@ -2867,7 +2867,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();
|
| __ LoadSmiLiteral(r6, SmiFromSlot(expr->CallFeedbackICSlot()));
|
| __ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0);
|
| @@ -2975,7 +2975,7 @@ void FullCodeGenerator::EmitPossiblyEvalCall(Call* expr) {
|
| PrepareForBailoutForId(expr->EvalId(), NO_REGISTERS);
|
|
|
| // Record source position for debugger.
|
| - SetCallPosition(expr, arg_count);
|
| + SetCallPosition(expr);
|
| __ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0);
|
| __ mov(r3, Operand(arg_count));
|
| __ Call(isolate()->builtins()->Call(), RelocInfo::CODE_TARGET);
|
| @@ -3007,7 +3007,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 r4 and r3.
|
| __ mov(r3, Operand(arg_count));
|
| @@ -3043,7 +3043,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 r6.
|
| VisitForAccumulatorValue(super_call_ref->new_target_var());
|
| @@ -3744,7 +3744,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;
|
| @@ -4135,7 +4135,7 @@ void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| int arg_count = args->length();
|
|
|
| - SetCallPosition(expr, arg_count);
|
| + SetCallPosition(expr);
|
| __ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0);
|
| __ mov(r3, Operand(arg_count));
|
| __ Call(isolate()->builtins()->Call(ConvertReceiverMode::kNullOrUndefined),
|
|
|