Index: src/interpreter/handler-table-builder.h |
diff --git a/src/interpreter/handler-table-builder.h b/src/interpreter/handler-table-builder.h |
index eb923b9d1fce73f4dd384547d88e9ba13fd93059..26c45f4056651d1507e7af5a0b0ce46fffbdc255 100644 |
--- a/src/interpreter/handler-table-builder.h |
+++ b/src/interpreter/handler-table-builder.h |
@@ -21,11 +21,11 @@ namespace interpreter { |
// A helper class for constructing exception handler tables for the interpreter. |
class HandlerTableBuilder final BASE_EMBEDDED { |
public: |
- HandlerTableBuilder(Isolate* isolate, Zone* zone); |
+ explicit HandlerTableBuilder(Zone* zone); |
// Builds the actual handler table by copying the current values into a heap |
// object. Any further mutations to the builder won't be reflected. |
- Handle<HandlerTable> ToHandlerTable(); |
+ Handle<HandlerTable> ToHandlerTable(Isolate* isolate); |
// Creates a new handler table entry and returns a {hander_id} identifying the |
// entry, so that it can be referenced by below setter functions. |
@@ -50,7 +50,6 @@ class HandlerTableBuilder final BASE_EMBEDDED { |
HandlerTable::CatchPrediction catch_prediction_; |
}; |
- Isolate* isolate_; |
ZoneVector<Entry> entries_; |
DISALLOW_COPY_AND_ASSIGN(HandlerTableBuilder); |