| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index c979af619afbfd9034942fde2d2039e83de2d078..74660669a3cd506f33628d51924d6291658e41f9 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -191,6 +191,7 @@ void FullCodeGenerator::Generate() {
|
| __ push(r1);
|
| __ Push(info->scope()->GetScopeInfo(info->isolate()));
|
| __ CallRuntime(Runtime::kNewScriptContext, 2);
|
| + PrepareForBailoutForId(BailoutId::ScriptContext(), TOS_REG);
|
| } else if (slots <= FastNewContextStub::kMaximumSlots) {
|
| FastNewContextStub stub(isolate(), slots);
|
| __ CallStub(&stub);
|
| @@ -232,8 +233,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_r1| is correct.
|
|
|