Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index cb3fed9f99a8ff5a29b75dd4aefce22af457aec4..1b1c87dcabc2e67fc18f36dd3c1f6f8a7e5a5369 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -51,6 +51,8 @@ class BytecodeArrayBuilder final : public ZoneObject { |
return context_register_count_; |
} |
+ FunctionLiteral* literal() const { return literal_; } |
+ |
Register first_context_register() const; |
Register last_context_register() const; |
@@ -360,7 +362,7 @@ class BytecodeArrayBuilder final : public ZoneObject { |
int parameter_count_; |
int local_register_count_; |
int context_register_count_; |
- int return_position_; |
+ FunctionLiteral* literal_; |
TemporaryRegisterAllocator temporary_allocator_; |
BytecodeArrayWriter bytecode_array_writer_; |
BytecodePipelineStage* pipeline_; |