Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 18e2bb16ed503a0d22eb4436fb9aeaa9a306e8d5..9bfc78f081a1cb0b27b9ed6c929551b042286502 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -34,7 +34,7 @@ class BytecodeArrayBuilder final : public ZoneObject { |
SourcePositionTableBuilder::RecordingMode source_position_mode = |
SourcePositionTableBuilder::RECORD_SOURCE_POSITIONS); |
- Handle<BytecodeArray> ToBytecodeArray(); |
+ Handle<BytecodeArray> ToBytecodeArray(Isolate* isolate); |
// Get the number of parameters expected by function. |
int parameter_count() const { |
@@ -359,7 +359,6 @@ class BytecodeArrayBuilder final : public ZoneObject { |
void LeaveBasicBlock() { return_seen_in_block_ = false; } |
- Isolate* isolate() const { return isolate_; } |
BytecodeArrayWriter* bytecode_array_writer() { |
return &bytecode_array_writer_; |
} |
@@ -374,7 +373,6 @@ class BytecodeArrayBuilder final : public ZoneObject { |
return &handler_table_builder_; |
} |
- Isolate* isolate_; |
Zone* zone_; |
bool bytecode_generated_; |
ConstantArrayBuilder constant_array_builder_; |