Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index 5caf3f1813cb349e9c0980486d70b61f48e241e7..080f644e3ec513c6c4ab3cb2fabccecf7a49330a 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -31,9 +31,15 @@ class BytecodeGenerator : public AstVisitor { |
inline BytecodeArrayBuilder& builder() { return builder_; } |
inline Scope* scope() const { return scope_; } |
- inline void set_scope(Scope* s) { scope_ = s; } |
+ inline void set_scope(Scope* scope) { scope_ = scope; } |
+ inline CompilationInfo* info() const { return info_; } |
+ inline void set_info(CompilationInfo* info) { info_ = info; } |
+ |
+ LanguageMode language_mode() const; |
+ int feedback_index(FeedbackVectorICSlot slot) const; |
BytecodeArrayBuilder builder_; |
+ CompilationInfo* info_; |
Scope* scope_; |
}; |