| Index: src/interpreter/interpreter-assembler.h
|
| diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h
|
| index 5183f3efedfb4673bbfddec625873cb5f2bd7f33..1459c73c73613073e9adef91c94922f41408b589 100644
|
| --- a/src/interpreter/interpreter-assembler.h
|
| +++ b/src/interpreter/interpreter-assembler.h
|
| @@ -142,6 +142,16 @@ class V8_EXPORT_PRIVATE InterpreterAssembler : public CodeStubAssembler {
|
| compiler::Node* slot_id,
|
| compiler::Node* type_feedback_vector);
|
|
|
| + // Call constructor |constructor| with |arg_count| arguments (not including
|
| + // receiver) and the first argument located at |first_arg|. The last argument
|
| + // is always a spread. The |new_target| is the same as the |constructor| for
|
| + // the new keyword, but differs for the super keyword.
|
| + compiler::Node* CallConstructWithSpread(compiler::Node* constructor,
|
| + compiler::Node* context,
|
| + compiler::Node* new_target,
|
| + compiler::Node* first_arg,
|
| + compiler::Node* arg_count);
|
| +
|
| // Call runtime function with |arg_count| arguments and the first argument
|
| // located at |first_arg|.
|
| compiler::Node* CallRuntimeN(compiler::Node* function_id,
|
|
|