Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index d8756c0ebab99a6757b0e21c9ae91d3f27938b33..8a302769afaec7ad437c2fceb45d9880b20d4c74 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -142,6 +142,10 @@ class BytecodeArrayBuilder final : public ZoneObject { |
// Create a new context with size |slots|. |
BytecodeArrayBuilder& CreateFunctionContext(int slots); |
+ // Creates a new context for a with-statement with the |object| in a register |
+ // and the closure in the accumulator. |
+ BytecodeArrayBuilder& CreateWithContext(Register object); |
+ |
// Create a new arguments object in the accumulator. |
BytecodeArrayBuilder& CreateArguments(CreateArgumentsType type); |