Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index ab320d504ace83eda0c1b7d4d4d60b409c0929b6..9c07903da729945fa0b17fb49409f74520fee521 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -905,6 +905,13 @@ void BytecodeGraphBuilder::VisitCreateClosure() { |
environment()->BindAccumulator(closure); |
} |
+void BytecodeGraphBuilder::VisitCreateFunctionContext() { |
+ uint32_t slots = bytecode_iterator().GetIndexOperand(0); |
+ const Operator* op = javascript()->CreateFunctionContext(slots); |
+ Node* context = NewNode(op, GetFunctionClosure()); |
+ environment()->BindAccumulator(context); |
+} |
+ |
void BytecodeGraphBuilder::BuildCreateArguments(CreateArgumentsType type) { |
FrameStateBeforeAndAfter states(this); |
const Operator* op = javascript()->CreateArguments(type); |