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

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

Issue 1387383005: Eagerly extract stack limit from Isolate in InitializeAstVisitor() (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/full-codegen/full-codegen.h ('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 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_;
« no previous file with comments | « src/full-codegen/full-codegen.h ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698