Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 5dffdeb748baa48d76d026bcadbe37ca6572e4db..4144250e216374ecc80e485fdaf94e8c8aa84d47 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -196,6 +196,7 @@ void FullCodeGenerator::Generate() { |
__ push(r4); |
__ 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); |
@@ -237,8 +238,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_r4| is correct. |