| Index: src/interpreter/bytecode-array-builder.h
|
| diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h
|
| index 9c176d57ac8e124e3b596fb7e02d5f7760e58470..0f3ca7c785f66805a25fdb92e2ac13d9466f53b1 100644
|
| --- a/src/interpreter/bytecode-array-builder.h
|
| +++ b/src/interpreter/bytecode-array-builder.h
|
| @@ -240,6 +240,11 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final
|
| // Call the JS runtime function with |context_index| and arguments |args|.
|
| BytecodeArrayBuilder& CallJSRuntime(int context_index, RegisterList args);
|
|
|
| + // Call the constructor in |args[0]| with new_target in |args[1]| and the
|
| + // arguments starting at |args[2]| onwards. The final argument must be a
|
| + // spread.
|
| + BytecodeArrayBuilder& ConstructWithSpread(RegisterList args);
|
| +
|
| // Operators (register holds the lhs value, accumulator holds the rhs value).
|
| // Type feedback will be recorded in the |feedback_slot|
|
| BytecodeArrayBuilder& BinaryOperation(Token::Value binop, Register reg,
|
|
|