Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 5889e46fb35abfac796401aabe93fbb29c54ad89..e4f0d907f116dbaafd6418981110f01c0cea3c69 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3152,7 +3152,8 @@ Node* AstGraphBuilder::BuildLocalScriptContext(Scope* scope) { |
Handle<ScopeInfo> scope_info = scope->GetScopeInfo(isolate()); |
const Operator* op = javascript()->CreateScriptContext(scope_info); |
Node* local_context = NewNode(op, GetFunctionClosure()); |
- PrepareFrameState(local_context, BailoutId::Prologue()); |
+ PrepareFrameState(local_context, BailoutId::ScriptContext(), |
+ OutputFrameStateCombine::Push()); |
return local_context; |
} |