| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 796ceafea1d68008944397f68747e23a6a94beb5..029d90c4db6b93df830bd79ec82e8bca9b2e21b3 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -942,6 +942,15 @@ void BytecodeGraphBuilder::VisitCreateFunctionContext() {
|
| environment()->BindAccumulator(context);
|
| }
|
|
|
| +void BytecodeGraphBuilder::VisitCreateWithContext() {
|
| + Node* object =
|
| + environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
|
| +
|
| + const Operator* op = javascript()->CreateWithContext();
|
| + Node* context = NewNode(op, object, environment()->LookupAccumulator());
|
| + environment()->BindAccumulator(context);
|
| +}
|
| +
|
| void BytecodeGraphBuilder::BuildCreateArguments(CreateArgumentsType type) {
|
| FrameStateBeforeAndAfter states(this);
|
| const Operator* op = javascript()->CreateArguments(type);
|
|
|