| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index b1fbd5882312cc47a40be050d05ab65d016e9498..3715d5755a711f859d11e3f67d39b3d20bfbeee9 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -2716,8 +2716,9 @@ void Interpreter::DoCreateFunctionContext(InterpreterAssembler* assembler) {
|
| Node* closure = __ LoadRegister(Register::function_closure());
|
| Node* slots = __ BytecodeOperandUImm(0);
|
| Node* context = __ GetContext();
|
| - __ SetAccumulator(FastNewFunctionContextStub::Generate(
|
| - assembler, closure, slots, context, FUNCTION_SCOPE));
|
| + ConstructorBuiltinsAssembler constructor_assembler(assembler->state());
|
| + __ SetAccumulator(constructor_assembler.EmitFastNewFunctionContext(
|
| + closure, slots, context, FUNCTION_SCOPE));
|
| __ Dispatch();
|
| }
|
|
|
| @@ -2728,8 +2729,9 @@ void Interpreter::DoCreateEvalContext(InterpreterAssembler* assembler) {
|
| Node* closure = __ LoadRegister(Register::function_closure());
|
| Node* slots = __ BytecodeOperandUImm(0);
|
| Node* context = __ GetContext();
|
| - __ SetAccumulator(FastNewFunctionContextStub::Generate(
|
| - assembler, closure, slots, context, EVAL_SCOPE));
|
| + ConstructorBuiltinsAssembler constructor_assembler(assembler->state());
|
| + __ SetAccumulator(constructor_assembler.EmitFastNewFunctionContext(
|
| + closure, slots, context, EVAL_SCOPE));
|
| __ Dispatch();
|
| }
|
|
|
|
|