| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 5778358196c8ac5d964f35c08e53cafe06524cf6..f3f6be8a49a78b68b3547de3aa82cd8278d2c9c9 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -1028,6 +1028,30 @@ void Interpreter::DoCreateClosure(compiler::InterpreterAssembler* assembler) {
|
| }
|
|
|
|
|
| +// CreateMappedArguments
|
| +//
|
| +// Creates a new mapped arguments object.
|
| +void Interpreter::DoCreateMappedArguments(
|
| + compiler::InterpreterAssembler* assembler) {
|
| + Node* closure = __ LoadRegister(Register::function_closure());
|
| + Node* result = __ CallRuntime(Runtime::kNewSloppyArguments_Generic, closure);
|
| + __ SetAccumulator(result);
|
| + __ Dispatch();
|
| +}
|
| +
|
| +
|
| +// CreateUnmappedArguments
|
| +//
|
| +// Creates a new unmapped arguments object.
|
| +void Interpreter::DoCreateUnmappedArguments(
|
| + compiler::InterpreterAssembler* assembler) {
|
| + Node* closure = __ LoadRegister(Register::function_closure());
|
| + Node* result = __ CallRuntime(Runtime::kNewStrictArguments_Generic, closure);
|
| + __ SetAccumulator(result);
|
| + __ Dispatch();
|
| +}
|
| +
|
| +
|
| // Throw
|
| //
|
| // Throws the exception in the accumulator.
|
|
|