| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index 35a4094d953778c1633d118c8af0044925a54057..fff0b6ced42648cde37be18b4b622749c29705a0 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -185,6 +185,7 @@ void FullCodeGenerator::Generate() {
|
| __ push(edi);
|
| __ 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);
|
| @@ -229,8 +230,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| is correct.
|
|
|