| 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 187a8ccba14c64dc035caa2862c4d75524828099..a0097b7ff53ec1410a495baa8206acee88ab5569 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -193,6 +193,7 @@ void FullCodeGenerator::Generate() {
|
| __ Mov(x10, Operand(info->scope()->GetScopeInfo(info->isolate())));
|
| __ Push(x1, x10);
|
| __ CallRuntime(Runtime::kNewScriptContext, 2);
|
| + PrepareForBailoutForId(BailoutId::ScriptContext(), TOS_REG);
|
| } else if (slots <= FastNewContextStub::kMaximumSlots) {
|
| FastNewContextStub stub(isolate(), slots);
|
| __ CallStub(&stub);
|
| @@ -234,8 +235,8 @@ void FullCodeGenerator::Generate() {
|
| }
|
| }
|
| }
|
| + PrepareForBailoutForId(BailoutId::FunctionContext(), NO_REGISTERS);
|
|
|
| - PrepareForBailoutForId(BailoutId::Prologue(), NO_REGISTERS);
|
| // Function register is trashed in case we bailout here. But since that
|
| // could happen only when we allocate a context the value of
|
| // |function_in_register_x1| is correct.
|
|
|