Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index 2fe8b324d8cc539cd7f952631373b2b8845e9a1c..a877616724bd135b3c88f6dc8f37da2db59828ad 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -49,6 +49,8 @@ class BytecodeGenerator : public AstVisitor { |
inline BytecodeArrayBuilder* builder() { return &builder_; } |
+ inline Isolate* isolate() const { return isolate_; } |
+ |
inline Scope* scope() const { return scope_; } |
inline void set_scope(Scope* scope) { scope_ = scope; } |
inline CompilationInfo* info() const { return info_; } |
@@ -66,6 +68,7 @@ class BytecodeGenerator : public AstVisitor { |
Strength language_mode_strength() const; |
int feedback_index(FeedbackVectorSlot slot) const; |
+ Isolate* isolate_; |
BytecodeArrayBuilder builder_; |
CompilationInfo* info_; |
Scope* scope_; |