| 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 568319abd5e4c7601c4d72734718a07167f2b8eb..0fd54c3d53f1f758512c1af88e9e9c289be4c02b 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -2950,6 +2950,7 @@ void FullCodeGenerator::EmitCall(Call* expr, CallICState::CallType call_type) {
|
| VisitForStackValue(args->at(i));
|
| }
|
|
|
| + PrepareForBailoutForId(expr->CallId(), NO_REGISTERS);
|
| SetCallPosition(expr, arg_count);
|
| Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, call_type).code();
|
| __ LoadSmiLiteral(r6, SmiFromSlot(expr->CallFeedbackICSlot()));
|
| @@ -3899,6 +3900,7 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) {
|
| for (Expression* const arg : *args) {
|
| VisitForStackValue(arg);
|
| }
|
| + PrepareForBailoutForId(expr->CallId(), NO_REGISTERS);
|
| // Move target to r4.
|
| int const argc = args->length() - 2;
|
| __ LoadP(r4, MemOperand(sp, (argc + 1) * kPointerSize));
|
| @@ -3922,6 +3924,7 @@ void FullCodeGenerator::EmitCallFunction(CallRuntime* expr) {
|
| }
|
| VisitForAccumulatorValue(args->last()); // Function.
|
|
|
| + PrepareForBailoutForId(expr->CallId(), NO_REGISTERS);
|
| Label runtime, done;
|
| // Check for non-function argument (including proxy).
|
| __ JumpIfSmi(r3, &runtime);
|
|
|