| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 33e945271a680beef05dd9f93d6439a823099288..b38570c6798d60c32f2ccd624cfac51934740b16 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -1717,6 +1717,18 @@ void Interpreter::DoCreateClosure(InterpreterAssembler* assembler) {
|
| }
|
| }
|
|
|
| +// CreateContext
|
| +//
|
| +// Creates a new context for the function closure in the accumulator.
|
| +void Interpreter::DoCreateFunctionContext(InterpreterAssembler* assembler) {
|
| + Node* closure = __ LoadRegister(Register::function_closure());
|
| + Node* slots = __ BytecodeOperandImm(0);
|
| + Node* context = __ GetContext();
|
| + __ SetAccumulator(
|
| + FastNewFunctionContextStub::Generate(assembler, closure, slots, context));
|
| + __ Dispatch();
|
| +}
|
| +
|
| // CreateMappedArguments
|
| //
|
| // Creates a new mapped arguments object.
|
|
|