Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: src/interpreter/bytecode-generator.h

Issue 1309843007: [Interpreter] Add support for property load operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove templated FitsInOperand since std::is_integral is not supported on Mac Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
};
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698