Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 394bb1dc23c8a338496390e9583205e751ea4b5b..a35b9635a097363a481cd14e735b2e90b42e8366 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -145,6 +145,9 @@ class BytecodeArrayBuilder final : private RegisterMover { |
// Create a new arguments object in the accumulator. |
BytecodeArrayBuilder& CreateArguments(CreateArgumentsType type); |
+ // Create a new rest arguments object starting at |index| in the accumulator. |
+ BytecodeArrayBuilder& CreateRestArguments(int index); |
+ |
// Literals creation. Constant elements should be in the accumulator. |
BytecodeArrayBuilder& CreateRegExpLiteral(Handle<String> pattern, |
int literal_index, int flags); |