| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index 6023a36152b29801ff164cf504b2e5335cd0718a..cd0df972cc3a15fb10f8d36aa8dba0ed5cc453b7 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -200,6 +200,7 @@ void FullCodeGenerator::Generate() {
|
| __ push(a1);
|
| __ 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);
|
| @@ -241,8 +242,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_a1| is correct.
|
|
|