Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index caf310fecf3b4feea90b9b6808ba26ba39f0b3dd..51b61861c3636fa9aa31e5f3a6fe4b594b53dcde 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -139,6 +139,11 @@ class BytecodeArrayBuilder final : public ZoneObject { |
// in the accumulator. |
BytecodeArrayBuilder& CreateBlockContext(Handle<ScopeInfo> scope_info); |
+ // Create a new context for a catch block with |exception| and |name| and the |
+ // closure in the accumulator. |
+ BytecodeArrayBuilder& CreateCatchContext(Register exception, |
+ Handle<String> name); |
+ |
// Create a new context with size |slots|. |
BytecodeArrayBuilder& CreateFunctionContext(int slots); |