| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 5a87e328ace2b419caf9a6d131eaad61600bb1e2..50216a766c074ec10c30872e6cf9f842288101ac 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2444,7 +2444,7 @@ Node* AstGraphBuilder::BuildLocalBlockContext(Scope* scope) {
|
|
|
| // Allocate a new local context.
|
| const Operator* op = javascript()->CreateBlockContext();
|
| - Node* scope_info = jsgraph()->Constant(scope->GetScopeInfo());
|
| + Node* scope_info = jsgraph()->Constant(scope->GetScopeInfo(info_->isolate()));
|
| Node* local_context = NewNode(op, scope_info, closure);
|
|
|
| return local_context;
|
|
|