| Index: src/full-codegen/arm64/full-codegen-arm64.cc
|
| diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| index 991b5f1d465c0eaf1a9abf20b6eb7daf1559a0e6..90a3d097285a55732158f21e1ffcef58cfe1845f 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -2660,6 +2660,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();
|
| @@ -3613,6 +3614,7 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) {
|
| for (Expression* const arg : *args) {
|
| VisitForStackValue(arg);
|
| }
|
| + PrepareForBailoutForId(expr->CallId(), NO_REGISTERS);
|
| // Move target to x1.
|
| int const argc = args->length() - 2;
|
| __ Peek(x1, (argc + 1) * kXRegSize);
|
| @@ -3637,6 +3639,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(x0, &runtime);
|
|
|