| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 5927f998f91ffeb66cbcad04e1d09a2ffe2f1e3b..796ceafea1d68008944397f68747e23a6a94beb5 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -926,6 +926,15 @@ void BytecodeGraphBuilder::VisitCreateClosure() {
|
| environment()->BindAccumulator(closure);
|
| }
|
|
|
| +void BytecodeGraphBuilder::VisitCreateBlockContext() {
|
| + Handle<ScopeInfo> scope_info = Handle<ScopeInfo>::cast(
|
| + bytecode_iterator().GetConstantForIndexOperand(0));
|
| +
|
| + const Operator* op = javascript()->CreateBlockContext(scope_info);
|
| + Node* context = NewNode(op, environment()->LookupAccumulator());
|
| + environment()->BindAccumulator(context);
|
| +}
|
| +
|
| void BytecodeGraphBuilder::VisitCreateFunctionContext() {
|
| uint32_t slots = bytecode_iterator().GetIndexOperand(0);
|
| const Operator* op = javascript()->CreateFunctionContext(slots);
|
|
|