Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index b383786e6891674cdb829e74ed8853cd1bd53dea..10abec7b8824741217a09e39e69e8e35b4a9224c 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3156,7 +3156,7 @@ Node* AstGraphBuilder::BuildLocalScriptContext(Scope* scope) { |
const Operator* op = javascript()->CreateScriptContext(); |
Node* scope_info = jsgraph()->Constant(scope->GetScopeInfo(isolate())); |
Node* local_context = NewNode(op, GetFunctionClosure(), scope_info); |
- PrepareFrameState(local_context, BailoutId::FunctionEntry()); |
+ PrepareFrameState(local_context, BailoutId::Prologue()); |
return local_context; |
} |